Video Custom Controls

Q&A about the latest versions
Post Reply
User avatar
Isaac Brown
Posts: 60
Joined: Tue Jun 13, 2017 12:55 pm
Location: Australia

Tue Apr 07, 2020 7:48 am

Hi all,
Is there a way to target a video that is placed in the skin so that when i mouse click a button in the skin it makes the video toggle fullscreen?

Thanks
Isaac
IBCreative
User avatar
Tony
Posts: 936
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Tue Apr 07, 2020 1:01 pm

Hi,

Yes.

Here's an example with a YouTube video. https://p2vr.s3-ap-southeast-2.amazonaw ... index.html

If the video is playing and the fullscreen button is selected the video expands to fullscreen, if the fullscreen is already active and the video is played it plays as fullscreen.

Simply add a logic block to the "video_popup_close_"type of video" element that sets the element size to 100% whenever 'Fullscreen' is = true.

fullscreen-video.jpg
fullscreen-video.jpg (669.05 KiB) Viewed 113 times

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/
User avatar
Isaac Brown
Posts: 60
Joined: Tue Jun 13, 2017 12:55 pm
Location: Australia

Wed Apr 08, 2020 12:51 pm

Ah! I wasn’t looking at it this way. I was trying to actually find a way to configure the native HTML video controls. I’ll give this a try. Thanks a bunch Tony.
Isaac
IBCreative
Post Reply