-
Notifications
You must be signed in to change notification settings - Fork 0
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
Responsive video snippet... #225
Comments
Isn't this already possible? Insert "Media", choose "Video", paste a YouTube URL... This results in the following output:
|
Not that I know of, in order to have the video be responsive the class has to be applied to another div that wraps the iframe and there can be no height or width on the iframe. Unless you know a better way to do responsive videos. The media option applies class to iframe itself and adds a height + width. |
Ok, then I'd say the existing mechanism should be modified instead of creating a separate snippet. Having multiple ways to insert a YouTube videos sounds confusing. Consider it on the list. |
Can someone provide a list of the all the options we want to support for the YouTube embed, such as "allowfulscreen" mentioned above? |
https://developers.google.com/youtube/player_parameters#Parameters Assuming you'd want to support all of these. Below are the ones that might be preset or static.
Opinions? |
Can we get a snippet that accepts a YouTube URL and outputs the standard Youtube embed iframe (with no height or width) wrapped in a div with class "u-wvu-embed-container"? Also would be cool to have options such as "allowfulscreen" and whatever other standard parameters YouTube allows.
The text was updated successfully, but these errors were encountered: