mkdante381

Watch Youtube embed movies in HTML5 on all Browsers

Jan 18th, 2016
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. Watch Youtube embed movies on third party sites only in HTML5 on Firefox, Chromium/Chrome, Opera. This scripts also repair loading old youtube flash embed movies on Firefox.
  2.  
  3. 1. Install Script manager for your browser https://greasyfork.org/help/installing-user-scripts
  4. 2. Install scripts
  5. https://greasyfork.org/scripts/13174-replace-old-flash-player-based-youtube-embeds-by-their-new-html5-counterparts
  6. and
  7. https://greasyfork.org/scripts/3435-youtube-embed-tweak-html5
  8.  
  9. 3. Execution order script, 1st is "Youtube Embed Tweak HTML5" and 2nd "Replace old Flash Player-based YouTube embeds by their new HTML5 counterparts".
  10.  
  11. 4.In script "Youtube Embed Tweak HTML5" change var videosize to 100%(Original size video width and height, but sometime is larger. This is problem html5)
  12. Change to default size and settings:
  13. // Set Video Size, with a 16:9 preset, Large (1024x576) medium (720x405) or Set size in percentage, for a video size as a percantage of the container size.
  14. var videosize = '100%';
  15. // or
  16. //var videosize = '50%';
  17. // nochangeurl must be set to no for player settings to work. yes = default url and no = modified url, size is always modified.
  18. var nochangeurl = 'no';
  19. // Show youtube logo, yes or no
  20. var ytlogo = 'yes';
  21. // Show annoations yes or no.
  22. var annotation = 'yes';
  23. // Show Related videos at end of playback, yes or no.
  24. var related = 'yes';
  25. // Force https option, yes or no
  26. var ssl = 'yes';
Add Comment
Please, Sign In to add comment