[plugin] Youtube player

Post your completed addons to share with the community

Post » Thu Jan 14, 2016 10:22 am

https://www.dropbox.com/s/62h7dg6p6psopv4/tube%20test.capx?dl=0
It is on my first post, I think you missed it when you got exited about frcol's additions ;)
B
12
S
3
Posts: 104
Reputation: 1,655

Post » Thu Jan 14, 2016 4:04 pm

Upate

Add "condition: Compare playback time" to compare current playback time. And expression:VideoState to dump state of current video, for debug.



@MaorKeshet

Repeat: If PlayBackTime >= 7 then Set playback time to 3 , i.e go back previous playback time
It works by my test. (Sampe capx)

But skip: If PlayBackTime >= 7 then Set playback time to 3 will cause youtube player to "buffering" state. I have no idea how to solve it.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Sat Jan 16, 2016 9:19 am

rexrainbow wrote:But skip: If PlayBackTime >= 7 then Set playback time to 3 will cause youtube player to "buffering" state. I have no idea how to solve it.


I guess you meant playback>=3 and set to 7.
Same results here... Seems to be an API issue, maybe on youtube's end.
B
12
S
3
Posts: 104
Reputation: 1,655

Post » Tue Jan 19, 2016 11:58 am

Love your plugin Rex, it's great.

Just one issue. I need it to be initially invisible, but unlike the standard Video plugin, your player plugin doesn't have the "initial visibility" property or the ability to set visible/invisible from code using the "Set Visible" action.

Could you add this to the plugin? I could edit the js code, but I always prefer if the author makes changes to their own plugins (ensures we all have the same version).

Thanks for this.
B
10
S
3
Posts: 87
Reputation: 957

Post » Wed Jan 20, 2016 4:36 am

Update

Add property "Initial visible" and "action: set visible". Also fixed a bug while set position and size during playing video.


@wmsgva

Try this new version.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Wed Jan 20, 2016 5:53 pm

Hi Rex,

It works fine with the new property & action.

Great job, thanks.
B
10
S
3
Posts: 87
Reputation: 957

Post » Mon Jan 25, 2016 5:24 pm

it works perfecty under android, it is possible to disable the function pause/stop, if the user click on the current playing video??
B
41
S
16
G
7
Posts: 1,750
Reputation: 9,963

Post » Mon Jan 25, 2016 6:38 pm

@imothep85,
I dont´t think so. I didn´t find anything about it in the Youtube API.
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Mon Jan 25, 2016 7:20 pm

maybe its possible to disable the touch function when the video is playing instead :D
B
41
S
16
G
7
Posts: 1,750
Reputation: 9,963

Post » Tue Jan 26, 2016 3:44 pm

@frcol
@imothep85

I try to call "action: play" under "condition: on pause" event (capx), it looks like the pausing is disable.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 6 guests