Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not play video in webview #54097

Closed
wk-j opened this issue Jul 11, 2018 · 2 comments
Closed

Can not play video in webview #54097

wk-j opened this issue Jul 11, 2018 · 2 comments
Assignees
Labels
*out-of-scope Posted issue is not in scope of VS Code webview Webview issues

Comments

@wk-j
Copy link

wk-j commented Jul 11, 2018

Both YouTube and Vimeo video are not playable in webview

youtube

  • VSCode Version: 1.25.0
  • OS Version: macOS
<!DOCTYPE html>
<html lang="en">

<head> </head>

<body>
    <iframe src="https://player.vimeo.com/video/277584430" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen
        allowfullscreen></iframe>

    <iframe class="frame" width="560" height="315" src="https://www.youtube.com/embed/BHQfBbQBRWM?rel=0&amp;showinfo=0" frameborder="0"
        allow="autoplay; encrypted-media" allowfullscreen>
    </iframe>
</body>

</html>

Steps to Reproduce:

  1. Debug extension project
  2. Open webview

Does this issue occur when all extensions are disabled?: Yes

@vscodebot
Copy link

vscodebot bot commented Jul 11, 2018

@vscodebot vscodebot bot added the html HTML support issues label Jul 11, 2018
@mjbvz mjbvz assigned mjbvz and unassigned aeschli Jul 11, 2018
@mjbvz mjbvz added webview Webview issues and removed html HTML support issues labels Jul 11, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Jul 11, 2018

We don't ship ffmpeg in our electron build. Many audio and video formats are therefore not supported inside webviews. No plans to change this

@mjbvz mjbvz closed this as completed Jul 11, 2018
@mjbvz mjbvz added the *out-of-scope Posted issue is not in scope of VS Code label Jul 11, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*out-of-scope Posted issue is not in scope of VS Code webview Webview issues
Projects
None yet
Development

No branches or pull requests

3 participants