CMS Development

Gabrisan
Contributor | Diamond Partner
Contributor | Diamond Partner

New Video and Vidyard Update - Window.obj / iframe

Hi there, 
After this update, we cannot have the previous control that we had, with javascript in a video embed.

I mean that before we could have access to the js object VidyardV4.
And from there, we can have control of the video, objects and events like play/pause.

Right now, we just have this 
window.hsVideoApi, without any event or function that return objects video (or at least I cannot find it).


We cannot acces also to the generated Iframe due to the cros origin policy, and we cannot use html video methods.

Can someone help me with this?
Thanks in advance,
Gabriele




2 Replies 2
MrJustinGivens
Top Contributor | Gold Partner
Top Contributor | Gold Partner

New Video and Vidyard Update - Window.obj / iframe

Hey @Gabrisan found a solution. I was having the same problem.

 

Check out DeckerDev GIST: https://gist.github.com/NickDeckerDevs/5213df3ff7e79161bbd15c175e6c6726









0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

New Video and Vidyard Update - Window.obj / iframe

@albertsg , @stefen , @Mark_Ryba ,

Any of you have experience with this?

0 Upvotes