Page 2 of 2

How to set video-id property of youtube player dynamically

Posted: Thu Oct 09, 2014 2:04 pm
by EJLD

Hi There,

it works ... it doesn't work ...

basically, when the video address is placed in the builder property, the video can be played.

but when it is downloaded from the appery DB and stored into the Video ID field, it doesn't work. msg error always same "An error occured" or "parameter incomplete" ...

I also tried the code
Appery('youtubePlayer').attr("data-video-id", videoId);

still doesn't success :(

any idea ?

thks in advance,
Eric


How to set video-id property of youtube player dynamically

Posted: Sat Oct 11, 2014 8:33 am
by Maryna Brodina

Hello!

Could you clarify what value do you map in Video ID? It shows player if map id itself - dQw4w9WgXcQ. Perhaps you are trying to map entire link https://www.youtube.com/watch?v=dQw4w9...?


How to set video-id property of youtube player dynamically

Posted: Sat Oct 11, 2014 9:00 am
by EJLD

Hi Maryna,
thks for your prompt feedback.
no in the DB record is only stored the videoID itself not the link.
the mapping links the DB field to the builder control "video ID".
in fact, it works sometime and then shows the error msg again. very unstable.
when placed in the property field of the builder, it works always.
however, i do need the videoID to be updated dynamically.
thk you for more inputs from you,
Eric


How to set video-id property of youtube player dynamically

Posted: Sat Oct 11, 2014 10:13 am
by Maryna Brodina

Sent back to developers, I'll update when have more information...


How to set video-id property of youtube player dynamically

Posted: Sat Oct 11, 2014 12:12 pm
by EJLD

do you need me to put my app on share ...?


How to set video-id property of youtube player dynamically

Posted: Sat Oct 11, 2014 12:28 pm
by Maryna Brodina

Yes, would be great! Thank you!


How to set video-id property of youtube player dynamically

Posted: Sat Oct 11, 2014 12:59 pm
by EJLD

in fact, I have just proceeded with the builder Update. both video samples are working. so no point to spend time on it. if it failed again, I would come back to you. (for the time being, after the update, I hv some other major bugs. I'll do different posts :) )


How to set video-id property of youtube player dynamically

Posted: Sat Oct 11, 2014 1:09 pm
by Maryna Brodina

Thank you for update :)