viewbix
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018
01:48 AM
Overlaying video with interactive elements
I am new to Roku development and was wondering if there is a way to overlay interactive elements over the video screen - I wan tot implement an Amazon X-ray like feature over the content in my channel. I want users to be able to click a link over the video and then bring up additional related content such as photos or related text. Is this doable as an in video experience? If not what would be recommended way of offering the closest to this experience?
Thanks
Thanks
2 REPLIES 2
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018
08:56 PM
Re: Overlaying video with interactive elements
it's doable. Video is playing in separate plane behind, on top of it is the UI plane, then they can combined by hardware into (hdmi) signal
norcaljohnny
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2018
03:18 PM
Re: Overlaying video with interactive elements
Just consider the z-index. so if you have the video node and then another node on top of it, you will see it over the video.
Example:
The video is now behind the button video. Of course you can customize it however you wish based on conditional statements for example a custom function.
Example:
<video id="videoPlayer" />
<button id="someButton" visible="false"/>
The video is now behind the button video. Of course you can customize it however you wish based on conditional statements for example a custom function.
sub showButton()
if (m.videoPlayer.state = "pause")
m.someButton.visible = true
end if
end sub