Page 1 of 3

Youtube Video Component Event (Actions) Unavailable to execute

Posted: Tue Apr 07, 2015 3:56 pm
by Mark Wong

Image Image
I tried to use Event: Youtube Video Playing to run Javascript
However it is NOT WORKING.
But when I switched to use Event "Youtube Error" and it worked
(I used a List Service to map the video ID in my database to Youtube Video Component )


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Tue Apr 07, 2015 4:54 pm
by Serhii Kulibaba

Hello Mark,

Please send us sample data from service response


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 08, 2015 5:49 am
by Mark Wong

"Failed to load response data"
https://www.youtube.com/get_video?nof... Failed to load resource: the server responded with a status of 404 (OK)
When I clicked on the link, it directed me to a VLC video player with nothing available to play.


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 08, 2015 10:03 am
by Illya Stepanov

Hi Mark -

Even when trying opening this link inside the browser we're getting: ERR_INVALID_RESPONSE


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 08, 2015 10:10 am
by Mark Wong

So What cause this problem of
Failed to load resource: the server responded with a status of 404 (OK) ?
And how should I solve it?
Maybe giving you the steps to reproduce and the app link?


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 08, 2015 10:17 am
by Illya Stepanov

Yes, Mark.


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 08, 2015 10:31 am
by Mark Wong

As I was reading the UI components again and again,
I use two labels to get the Youtube Video Status change and error.
And they are:
Youtube Error: 2 -The request contains an invalid parameter value.
&
YouTube state change: -1 - Unstarted(Even I was playing the video, Maybe its because I was using list service)


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 08, 2015 10:33 am
by Mark Wong

http://appery.io/app/mobile-frame?src...
Step to Reproduces:

  1. Register and Login to the App with the account
  2. Click Any Youtube Video to Play (There are 3 in total, same video with same Video ID)
    (1st label at the top of the page: showing Youtube Video Status Change)
    (2nd Label showing Youtube Video Error)

Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 08, 2015 3:03 pm
by Illya Stepanov

Mark -

Could you please explain what you are trying implement in your app?


Youtube Video Component Event (Actions) Unavailable to execute

Posted: Wed Apr 08, 2015 4:59 pm
by Mark Wong

I'm just trying to execute something when the video is playing.
That's all.
But the Youtube Video Status only keep being -1 Unstarted so I can't run any events.