CMS Development

Gabrisan
Participant | Diamond Partner
Participant | 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 | Partner
Top Contributor | 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










Justin Givens


HUG Leader & Community Champion


Resident HubSpot Nerd | Image in a Box






 












mobilePhone





(256) 886-8269 | (256) 434-5877







emailAddress





justin@imageianbox.com







website





imageinabox.com







 





Schedule a time to talk







website





Let's connect on LinkedIn

















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?

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes