Page 2 of 3

Youtube Video Component Event (Actions) Unavailable to execute

Posted: Thu Apr 09, 2015 12:33 pm
by Mark Wong

Update:
"https://www.youtube.com/get_video?nof... Failed to load resource: the server responded with a status of 404 (OK) "
This error occur when the link was removed,(something like that)

so I change to another Youtube Video and this error disappear

But the Youtube Video Status Remain the same -1 Unstarted
And the Video Error 2 -The request contains an invalid parameter value.


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Thu Apr 09, 2015 1:43 pm
by Serhii Kulibaba

Hello,

It looks like a bug, please add invoke JS event handler on "youtube state change" event:

preApperyio("state").text(state);/pre


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Thu Apr 09, 2015 2:56 pm
by Mark Wong

It's still remain -1 ..
Clear Appcache. internals already
Before I was trying with Appery("state").text(state); and code
var a = Apperyio("Youtube_Video").data("youtube-player-object").getPlayerState();
Apperyio("state").text(a);/code

But nothing change when I was using Apperyio("state").text(state);
ALL OF THEM return in -1


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Mon Apr 13, 2015 10:40 am
by Mark Wong

Any progress?


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 15, 2015 11:26 am
by Mark Wong

Any Further Information to let me know you guys are alive? LOL


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 15, 2015 4:54 pm
by Evgene Karachevtsev

Hello Mark,

We are sorry for delay, we are working on it and will get back to you with the update.


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Mon Apr 20, 2015 11:26 pm
by Yurii Orishchuk

Hi Mark,

I tried following:

  1. Add youtube component on the page.

  2. Set youtube id.

  3. Add "youtube state change" event with following JS code:

    pre

    alert("state change");

    /pre

    And it's worked as expected(i see alert when play the video).

    Please give us your app public link and describe steps to reproduce this problem in your app.

    Regards.


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Tue Apr 21, 2015 3:00 am
by Mark Wong

I've post about the reproduce steps before in above comments.
Public Link: http://appery.io/app/mobile-frame?src...

Steps to reproduce:
1.Register an account and login with it.
2.There are two labels at the page you've been directed to (above the videos)
first one represent the state of video(-1)
second one represent the error of the video(2)
3.Play any video, the state label wouldn't change eventhough you do any actions on the video

(P.S. I was using list service to map the videoID on the Youtube Componenet)


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Thu Apr 23, 2015 12:31 am
by Yurii Orishchuk

Hi Mark,

I've checked the same case (using youtube component in the list component). and yes - there is a bug with events for youtube component.

I've posted this bug to our developers. We will post an update here as soon as it will be fixed.

Regards.


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Thu Apr 23, 2015 2:58 am
by Mark Wong

Thank you! Is there any workaround?