Introduction
This plugin allows you to start playback of the YouTube video.
In general, In Android Chrome and Mobile Safari, It doesn't automatically start playback. and you can also stop the video by clicking around the YouTube video. If you watches the video until the end, This plugin will automatically end the video playback.
Plugin Commands
This plugin command will start playback of the YouTube video. Please enter the URL as follows. If the Internet had not connected, It could have caused the error.
YTPlayer play URL
YTPlayer play https://www.youtube.com/watch?v=C4ze-KCSxQY
YTPlayer play https://www.youtube.com/watch?v=tH3dAHNxjis&feature=youtu.be
YTPlayer play https://youtu.be/tH3dAHNxjis
Stop playback of the YouTube Video.
YTPlayer stop
Mobile Compatibility Table
Auto Play | Speed | |
Firefox for Android | FALSE | Slow |
Chrome for Android | FALSE | Normal |
Cordova Browers | FALSE | Normal |
Intel XDK (HTML5 + Cordova) | TRUE | Fast |
Change Log
2016.05.08 (v1.0.0) - First Release
2016.05.09 (v1.0.1) - Added Error Handler
2016.05.12 (v1.0.2) - Fixed a function that parses a URL.
2016.07.04 (v1.0.3) - Fixed a few logic about the range were converted to Rectangular object.
2016.10.06 (v1.0.4) - Added Canvas Filter (This function require my CSS Canvas Filter plugin)
2016.12.10 (v1.0.5) :
- Added a plugin parameter about video quality settings.
- Added the ability to play YouTube videos from a specified time.
2017.08.31 (v1.0.6) :
- Added a feature that the video size sets up with a fullscreen mode.
- Added a feature that can set the video to loop.
Plugin
Terms of Use
Free for commercial and non-commercial use