Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Youtube Video Component Event (Actions) Unavailable to execute

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Youtube Video Component Event (Actions) Unavailable to execute

Hello,

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

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

Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Youtube Video Component Event (Actions) Unavailable to execute

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

Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Youtube Video Component Event (Actions) Unavailable to execute

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Youtube Video Component Event (Actions) Unavailable to execute

Hello Mark,

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Youtube Video Component Event (Actions) Unavailable to execute

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.

Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Youtube Video Component Event (Actions) Unavailable to execute

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)

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Youtube Video Component Event (Actions) Unavailable to execute

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.

Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Youtube Video Component Event (Actions) Unavailable to execute

Thank you! Is there any workaround?

Return to “Issues”