Page 1 of 1

Setting Youtube Module Video ID On Load Event

Posted: Mon Jan 27, 2014 4:05 am
by Robert Larsen

I have my page setup to run event on page load. The page load event is to set property Video Id for youtube module from local storage on page load. I have also mapped a label above the player and set its event to set property from the same local storage on page load. In the first screenshot you can see my event settings for video module. Image
In the second event you can see that my local storage event variable is setting the video Id in the label property. So why is this not mapping to the Video property?
Imageinline.png?1390795492[/img] [/url]


Setting Youtube Module Video ID On Load Event

Posted: Mon Jan 27, 2014 7:40 am
by Maryna Brodina

Hello! Unfortunately it's a bug, we'll fix it. As a workaround instead Set property use Run JS action with the following code: preAppery("youtube_1").attr("src", "http://www.youtube.com/embed/" + localStorage.getItem("VideoID") + "?wmode=transparent");/pre


Setting Youtube Module Video ID On Load Event

Posted: Mon Apr 14, 2014 1:35 pm
by Maryna Brodina

Hello!

This bug was fixed.