Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Marvel App Optimized YouTube Embed. Use in conjunction with the instructions at https://help.marvelapp.com/hc/en-us/articles/208395615-How-do-I-embed-video-
<!-- "playlist" must be the same individual video id in order for continuous looping to work -->
<iframe src="https://www.youtube.com/embed/Zdjg9yhBqTU?modestbranding=1&playlist=Zdjg9yhBqTU&controls=0&showinfo=0&rel=0&iv_load_policy=3&autoplay=1&loop=1&keyboard=1" allowfullscreen="0" frameborder="0"></iframe>
@JayHoltslander

This comment has been minimized.

Copy link
Owner Author

commented Apr 18, 2017

A YouTube embed for use in Marvel App with all the optimal player parameters predefined. Just change the two video id references.

Features:

  1. No controls
  2. No info
  3. Modest branding
  4. No related videos
  5. Autoplay
  6. Endless loop
  7. Disable keyboard
  8. Disable video annotations
@tansaku

This comment has been minimized.

Copy link

commented Jun 29, 2017

this is great, by the way, is there any way to adjust the video embed size? I notice Marvel seems to strip out the height and width parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.