EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

How to set video-id property of youtube player dynamically

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to set video-id property of youtube player dynamically

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...?

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

How to set video-id property of youtube player dynamically

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to set video-id property of youtube player dynamically

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

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

How to set video-id property of youtube player dynamically

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to set video-id property of youtube player dynamically

Yes, would be great! Thank you!

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

How to set video-id property of youtube player dynamically

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 :) )

Return to “Issues”