Nov
14
2019

Better Video Player for Unity Premium Videos

Unity Learn Premium videos cannot be resized, opened in new tab or moved around..

Default Video Player on a wide screen monitor (cannot be resized)

With some javascript, you can pop the video out into resizable and draggable div!

Source:
https://gist.github.com/unitycoder/21fd5cce51932ccf524bdda5a2fe8401

Instructions:
– Copy paste that whole script into Browser console (F12)

Results:

Custom Viewer with Resizable and draggable div (and close button to restore original video)

References:
https://forum.unity.com/threads/how-to-get-bigger-not-full-screen-unity-learn-videos.776813/

Notes:
– Currently it support first video of the page only, as it takes the first element only, see code ” document.getElementsByClassName(“video-js”)[0] “
– This could be made into GreaseMonkey browser plugin to make it easier to use


1 Comment + Add Comment

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.