Page 1 of 4

Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Tue Jan 28, 2014 12:11 pm
by Herco van Brug

Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object. setting it on a label or text area works correctly so the ID is passed over but the youtube object doesn't pick it up. pressing they 'youtube' icon opens youtube without video ID.


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Tue Jan 28, 2014 12:16 pm
by Maryna Brodina

Hello! Sorry, it's a known bug. We have already reported this issue. Working on fix.


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Thu Mar 06, 2014 8:45 am
by GodSpeed JP1

Has this bug been fixed?


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Thu Mar 06, 2014 10:35 am
by Nikita

Hi,

This bug is not fixed yet. This is a workaround:

Appery(name).attr("src", "https://www.youtube.com/embed/" + id + "?wmode=transparent");

where a variable name -- YouTube component's name,
Id -- video's id from YouTube


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Thu Mar 06, 2014 10:41 am
by GodSpeed JP1

Thank you Nikita,I will try your method.


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Thu Mar 20, 2014 8:07 pm
by Anton6737105

And BTW it looks that if I use youtube object in the mobilegrid (to make a feed from youtube) the app hangs (even if I configure static VideoID rather that calculate this).
I mean I supposed to see 3 different titles with the same video for each item (s VideoID is hardcoded) but actually even titles can't be displayed properly.
As soon as I remove the youtube object from the page titles, pubdates start being displayed properly.


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Thu Mar 20, 2014 9:02 pm
by Maryna Brodina

Hello!
Could you give us exact steps to reproduce?


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Fri Mar 21, 2014 8:22 am
by Anton6737105

Sure.

  1. Create a datasource for Youtube xml feed
    https://gdata.youtube.com/demo/index....
    or exactly my one: http://gdata.youtube.com/feeds/base/v...

  2. Create a mobilegrid (as usually)

  3. label_date map with the pub date, label_ID with a link and a JS code "return value.slice(31,42);"
    (actually it is not necessary, removing JS changes nothing)

    At this step everything works, I can see 3 items with dates, exctracted video id's (as max-result=3)

  4. Add youtube element to the form (insert into the mobile grid)
    Even if you explicitly set its video_id you will see only one item with the video according to configured video_id.
    labels will not be calculated (instead of the date of publication it will display "label_date" as it was configured on the design stage), new items will not appear .
    So it looks like youtube element prevents from going over the feed to subsequent elements...

    Current workaround is avoid using youtube element (just to map "description" to the label). In such a case everything works fine (but video size is too big for small screens) so I hope I'll be able to map id extracted from the link to video_id of the youtube element soon (in April update?)


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Fri Mar 21, 2014 9:07 pm
by Maryna Brodina

Thank you! We will test it.


Setting property 'Video ID' on event 'Page Load' doesn't work on youtube object.

Posted: Sat Mar 29, 2014 6:51 pm
by Anton6737105

And how is it going on? Have you replicated the issue?