SkillAgentSearch skills...

YtPlayer

Simple cross-platform Alloy Widget for Titanium Mobile, plays streaming YouTube video with native Ti.Media.VideoPlayer

Install / Use

/learn @bob-sims/YtPlayer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ytPlayer

Simple cross-platform Alloy Widget for Titanium Mobile, plays streaming YouTube video with native Ti.Media.VideoPlayer.

Based on prior art by Dawson Toth.

Usage:

Copy widgets/ytPlayer to your local Ti project widgets/ folder.

Be sure to update your project's config.json file, add "ytPlayer": "1.0" to "dependencies".

In your controller:

// call method .play(), pass YouTube ID of video to play
Alloy.createWidget('ytPlayer').play('BXb5zeaaZss');

See sample app.

That's it!

@2wheelsburning

Related Skills

View on GitHub
GitHub Stars43
CategoryContent
Updated3y ago
Forks15

Languages

JavaScript

Security Score

60/100

Audited on Apr 2, 2023

No findings