glitchbone / cordovayoutubevideoplayer Goto Github PK
View Code? Open in Web Editor NEWPlay Youtube Videos in a native Video Player on Android & iOS
License: MIT License
Play Youtube Videos in a native Video Player on Android & iOS
License: MIT License
Hi ,
this is my command line
Y:\ionic\4programmer> ionic cordova plugin add https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git
> cordova plugin add https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git --save
โ Running command - failed!
[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.
[ERROR] An error occurred while running cordova plugin add https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git
-... (exit code 1):
Error: Failed to fetch plugin https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:211:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:885:16)
npm WARN addRemoteGit at Socket.<anonymous> (internal/child_process.js:334:11)
npm WARN addRemoteGit at emitOne (events.js:96:13)
npm WARN addRemoteGit at Socket.emit (events.js:188:7)
npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:501:12)
npm WARN addRemoteGit git+https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git resetting remote
C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-Glitchbone-CordovaYoutubeVideoPlayer-git-57241653
because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:211:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:885:16)
npm WARN addRemoteGit at Socket.<anonymous> (internal/child_process.js:334:11)
npm WARN addRemoteGit at emitOne (events.js:96:13)
npm WARN addRemoteGit at Socket.emit (events.js:188:7)
npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:501:12)
npm WARN addRemoteGit killed: false,
npm WARN addRemoteGit code: 1,
npm WARN addRemoteGit signal: null,
npm WARN addRemoteGit cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm ERR! git clone --template=C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git
C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-Glitchbone-CordovaYoutubeVideoPlayer-git-57241653:
Cloning into bare repository
'C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-Glitchbone-CordovaYoutubeVideoPlayer-git-57241653'...
npm ERR! git clone --template=C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git
C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-Glitchbone-CordovaYoutubeVideoPlayer-git-57241653:
fatal: Unable to find remote helper for 'https'
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
"https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git" "--save"
npm ERR! node v7.2.1
npm ERR! npm v3.10.10
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone
--template=C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git
C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-Glitchbone-CordovaYoutubeVideoPlayer-git-57241653
npm ERR! Cloning into bare repository
'C:\Users\bader\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-Glitchbone-CordovaYoutubeVideoPlayer-git-57241653'...
npm ERR! fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! Y:\ionic\4programmer\node_modules\npm-debug.log
Y:\ionic\4programmer>
any idea why i can't install it ?
my ionic information
global packages:
@ionic/cli-utils : 1.4.0
Cordova CLI : 7.0.1
Ionic CLI : 3.4.0
local packages:
@ionic/app-scripts : 1.3.7
@ionic/cli-plugin-cordova : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.4.2
System:
Node : v7.2.1
OS : Windows 10
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
npm : 3.10.10
i really like this plugin , but it can't play video on ios8
and i found XCDYouTubeKit has fix this problem
would you fix this issue ? thank you
can I force to load HD video without check connection type ,
the project seems stop updating
https://code.google.com/p/android-youtube-player/wiki/OpenYouTubePlayerActiviyInstructions
cordova plugin add https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git -save
Error: Failed to fetch plugin https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 235 Error output:
npm ERR! addLocal Could not install /var/folders/nc/fk4zxcg13w99jjkjfcv_1p3h0000gn/T/npm-999-204fbc80/git-cache-c507cd5d/765b5954e78ecf7950099c10bfe5f81133f8f396
npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git" "--production" "--save"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code EISDIR
npm ERR! errno -21
npm ERR! syscall read
npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/admin/Desktop/cicimuzik/cicimuzik/npm-debug.log
I am getting error in Android 5+ "Can't Play video" works fine in Samsung Device but fail in other Android Device.
I tried adding the YouTubeApiKey in the Config.xml but still issue persist
Please suggest.
the plugin is not working on android 6.
'Can't play this video.'
When I'm clicking on the link, the video is only opening in landscape mode. How to show video in portrait mode...?
Hi,
I have tried to play youtube video as well as youtube playlist. Video works fine but not Playlist,
in the IOS simulator the playlist is trying to play (player is loading) but closes right after.Is it possible to play playlist?
Helllo,
This plugin doesn't work anymore with recent version of Node ( > 10 )
Ionic:
Ionic CLI : 6.19.1 (/Users/alexismurciano/.nvm/versions/node/v18.3.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.1.9
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : android 10.1.2, ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 3 other plugins)
Utility:
cordova-res (update available: 0.15.4) : 0.15.1
native-run (update available: 1.6.0) : 1.2.2
System:
Android SDK Tools : 26.1.1 (/Users/alexismurciano/Library/Android/sdk)
ios-sim : 8.0.2
NodeJS : v18.3.0 (/Users/alexismurciano/.nvm/versions/node/v18.3.0/bin/node)
npm : 8.11.0
OS : macOS Monterey
Xcode : Xcode 13.4.1 Build version 13F100
Step to reproduce : Add and install plugin
let test = this.youtubeVideoPlayer.openVideo('u8nQa1cJyX8');
console.log('yt RETURN', test);
return :
Class not found
On both ios and android , tested with node 10,12,14,18 worked only with node 10
The plugin is working fine with max 1440p quality video, but not over that. Screen is black and loading only. Is it possible to set video play max 720p?
This issue only for ios, android working perfect!
Please help me!!!
trying to play:
https://www.youtube.com/watch?v=aNhylhd6ecU
with the player on iOS results in the player loading and closes right after.
It's a VEVO clip, so it's protected.
Video works in background when we lock the screen. Didn't find any code to pause the video.(Android version - 4.4.2, Youtube version - 11.29.53)
I need to read this video with this plugin but it doesn't work and I get "This video cannot be read".
What could be the reason for that ? Other videos work fine...
Hello guys,
I've been trying to use this plugin but somehow it isn't working. When I try to call the function "openVideo" it says: self.context.openVideo is not a function
. Am I doing something wrong?
HTML:
<ion-row>
<ion-col>
<button ion-button (click)="openVideo('X3z1KF2s8Sc')">
<ion-icon name="play"></ion-icon>
</button>
</ion-col>
</ion-row>
TS:
playVideo(videoId) {
YoutubeVideoPlayer.openVideo(videoId);
}
Error:
TypeError: self.context.openVideo is not a function
at DebugAppView.View_LearnPage0.handleEvent_41 (component.ngfactory.js:388)
at DebugAppView.<anonymous> (view.js:408)
at HTMLButtonElement.<anonymous> (dom_renderer.js:276)
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (ng_zone.js:227)
at t.invokeTask (polyfills.js:3)
at e.runTask (polyfills.js:3)
at HTMLButtonElement.invoke (polyfills.js:3)
Hello,
So when I call
YoutubeVideoPlayer.openVideo
The play button doesn't show the video is playing and the progress bar is showing the video at 0 seconds and stays there the entire duration. My test was on Samsung galaxy s6.
@Glitchbone
Hi,
When I try to play the videos without any issue playing in IOS, but not in the android (all android versions). Some videos comes with this Error message instead of playing them. I don't have any idea why does this occur?
Above image shows the error message appear in the simulator or phone.Below image shows the error message in the Android Studio log
Need help ASAP....
Can you add video close event handler - some callback function for method play
I just added the plugin to my application (phonegap iOS)
$ cordova plugin add https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git
and found the following errors on building the project
File: XCDYouTubeVideo.h
Line: 37
XCDYouTubeVideoQualityHD1080 DEPRECATED_MSG_ATTRIBUTE("YouTube has removed 1080p mp4 videos.") = 37,
Error 1: Parse Issue Missing ',' between enumerators @[....QualityHD1080(here) DEPRECATED....
]
Error 2: Parse Issue Expected '}' @[....videos.") = 37,(here)
]
I just made the line as
XCDYouTubeVideoQualityHD1080 = 37,
but found error on another file
File: XCDYouTubeVideoPlayerViewController.h
Line: 107, 108, 109, 110, 111 (same error)
Error: Parse Issue Expected ';' after top level declarator @[....Notification(here) DEPRECATED....
]
After the first video is shown, each subsequent video is paused. The focus is lost and it is not possible to manually continue it. How do I eliminate these pauses?
In config.xml recorded:
preference name="AllowInlineMediaPlayback" value="true"
preference name="MediaPlaybackRequiresUserAction" value="false"
Thank you for any help.
New to the cordova and ionic frameworks and am having trouble putting this plugin to use. Do I call the YoutubeVideoPlayer.openVideo('YOUTUBE_VIDEO_ID') from a ng-click event? Does it need to be set as a variable? Does it need to be done through a controller. Someone please help me get a video playing, as I'm sure it's probably something very simple I'm overlooking
Hello, YouTube supports start
and end
parameters, expressed in seconds to permit users to start playing from a certain time, and stop playing after a certain number of seconds.
Is there a way to pass these parameters in your plugin?
Thank you
Hello guys,
you could implement the feature to open the plugin background mode?
https://cordova.apache.org/docs/en/3.0.0/guide_platforms_ios_plugin.md.html
YoutubeVideoPlayer opens a window with music controls but the video is not loading.
with errors:
2018-02-14 11:36:29.697865+0530 youtube[347:24933] THREAD WARNING: ['YoutubeVideoPlayer'] took '88.044922' ms. Plugin should use a background thread.
2018-02-14 11:36:29.763121+0530 youtube[347:24933] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_Presence (client: youtube)
2018-02-14 11:36:31.657747+0530 youtube[347:24933] CredStore - performQuery - Error copying matching creds. Error=-25300, query={
class = inet;
"m_Limit" = "m_LimitAll";
"r_Attributes" = 1;
sync = syna;
}
Hello i want to play the videos of quality 320p or less is there any option for that
Hai Guys,
Is there any option for play a youtube video inside a Div element? just like youtube app?
please suggest..
I've added this plugin for my app and successfully got this working using the iOS simulator. However if I try and run it via Phonegap Serve to test it using the PhoneGap Developer app it pops up with "Error: Can't find variable: YoutubeVideoPlayer". Not sure if I'm doing something wrong including it in my app or if there isn't a way to get it running it using Phonegap Serve.
p.s. the reason I'm testing this plugin out over just embedding an iFrame is that the embedded iFrame approach doesn't has the audio silent when the iPhone button is set to mute. Can you tell me if this plugin suffers the same issue?
can i play RTMP Video?
Plugin fails to play live youtube events. Is there any workaround/solution?
Can able to play this Plugin in Android,
When playing in iOS , unable to hear the voice .
Every time I fire the openVideo function on Android (8.1), I get an "error" result, even though the video is correctly played back.
iOS reports "closed" (which seems correct).
This way I cannot rely on the callback's result, at least not on Android.
I create a "Play Youtube" App with PhoneGap(version 6.3.0) , Cordova (version 6.3.1) , simple load a youtube video by ID.
use Cordova YoutubeVideoPlayer plugin, but not working, Why?
test on android OS version 6.0.
Thanks in advance.
add to config.xml:
<plugin name="com.bunkerpalace.cordova.youtubevideoplayer" spec="1.0.1" source="pgb" />
Load youtube video when device ready in index.js
YoutubeVideoPlayer.openVideo('1s96mq8kfzY');
using build.phonegap.com to build project, but when run has an error:
An error occurred during the retrieval of the video. This could be due to network issue of YouTube protocols. Please try again later.
index.js
var app = {
initialize: function() {
this.bindEvents();
}, bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
}, onDeviceReady: function() {
app.receivedEvent('deviceready');
},
receivedEvent: function(id) {
var parentElement = document.getElementById(id);
var listeningElement = parentElement.querySelector('.listening');
var receivedElement = parentElement.querySelector('.received');
listeningElement.setAttribute('style', 'display:none;');
receivedElement.setAttribute('style', 'display:block;');
console.log('Received Event: ' + id);
YoutubeVideoPlayer.openVideo('1s96mq8kfzY');
}
};
index.html
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Hello World</title>
</head>
<body>
<div class="app">
<h1>PhoneGap</h1>
<div id="deviceready" class="blink">
<p class="event listening">Connecting to Device</p>
<p class="event received">Device is Ready</p>
</div>
</div>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
</script>
</body>
</html>
config.xml
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.hd.yu" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
<name>YTube2</name>
<description>
Hello World sample application that responds to the deviceready event.
</description>
<author email="[email protected]" href="http://phonegap.com">
PhoneGap Team
</author>
<content src="index.html" />
<preference name="DisallowOverscroll" value="true" />
<preference name="android-minSdkVersion" value="14" />
<plugin name="cordova-plugin-battery-status" source="npm" spec="~1.1.1" />
<plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" />
<plugin name="cordova-plugin-media-capture" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-console" source="npm" spec="~1.0.2" />
<plugin name="cordova-plugin-contacts" source="npm" spec="~2.0.1" />
<plugin name="cordova-plugin-device" source="npm" spec="~1.1.1" />
<plugin name="cordova-plugin-device-motion" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-device-orientation" source="npm" spec="~1.0.2" />
<plugin name="cordova-plugin-dialogs" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-file" source="npm" spec="~4.1.1" />
<plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0" />
<plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" />
<plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.3" />
<plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.3.0" />
<plugin name="cordova-plugin-media" source="npm" spec="~2.2.0" />
<plugin name="cordova-plugin-network-information" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />
<plugin name="cordova-plugin-statusbar" source="npm" spec="~2.1.2" />
<plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.0" />
<plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1" />
<plugin name="com.bunkerpalace.cordova.youtubevideoplayer" spec="1.0.1" source="pgb" />
<icon src="icon.png" />
<platform name="android">
<icon density="ldpi" src="www/res/icon/android/drawable-ldpi-icon.png" />
<icon density="mdpi" src="www/res/icon/android/drawable-mdpi-icon.png" />
<icon density="hdpi" src="www/res/icon/android/drawable-hdpi-icon.png" />
<icon density="xhdpi" src="www/res/icon/android/drawable-xhdpi-icon.png" />
<icon density="xxhdpi" src="www/res/icon/android/drawable-xxhdpi-icon.png" />
<icon density="xxxhdpi" src="www/res/icon/android/drawable-xxxhdpi-icon.png" />
<splash density="land-ldpi" src="www/res/screen/android/drawable-land-ldpi-screen.png" />
<splash density="land-mdpi" src="www/res/screen/android/drawable-land-mdpi-screen.png" />
<splash density="land-hdpi" src="www/res/screen/android/drawable-land-hdpi-screen.png" />
<splash density="land-xhdpi" src="www/res/screen/android/drawable-land-xhdpi-screen.png" />
<splash density="land-xxhdpi" src="www/res/screen/android/drawable-land-xxhdpi-screen.png" />
<splash density="land-xxxhdpi" src="www/res/screen/android/drawable-land-xxxhdpi-screen.png" />
<splash density="port-ldpi" src="www/res/screen/android/drawable-port-ldpi-screen.png" />
<splash density="port-mdpi" src="www/res/screen/android/drawable-port-mdpi-screen.png" />
<splash density="port-hdpi" src="www/res/screen/android/drawable-port-hdpi-screen.png" />
<splash density="port-xhdpi" src="www/res/screen/android/drawable-port-xhdpi-screen.png" />
<splash density="port-xxhdpi" src="www/res/screen/android/drawable-port-xxhdpi-screen.png" />
<splash density="port-xxxhdpi" src="www/res/screen/android/drawable-port-xxxhdpi-screen.png" />
</platform>
<platform name="ios">
<icon height="57" platform="ios" src="www/res/icon/ios/icon.png" width="57" />
<icon height="114" platform="ios" src="www/res/icon/ios/[email protected]" width="114" />
<icon height="40" platform="ios" src="www/res/icon/ios/icon-40.png" width="40" />
<icon height="80" platform="ios" src="www/res/icon/ios/[email protected]" width="80" />
<icon height="50" platform="ios" src="www/res/icon/ios/icon-50.png" width="50" />
<icon height="100" platform="ios" src="www/res/icon/ios/[email protected]" width="100" />
<icon height="60" platform="ios" src="www/res/icon/ios/icon-60.png" width="60" />
<icon height="120" platform="ios" src="www/res/icon/ios/[email protected]" width="120" />
<icon height="180" platform="ios" src="www/res/icon/ios/[email protected]" width="180" />
<icon height="72" platform="ios" src="www/res/icon/ios/icon-72.png" width="72" />
<icon height="144" platform="ios" src="www/res/icon/ios/[email protected]" width="144" />
<icon height="76" platform="ios" src="www/res/icon/ios/icon-76.png" width="76" />
<icon height="152" platform="ios" src="www/res/icon/ios/[email protected]" width="152" />
<icon height="29" platform="ios" src="www/res/icon/ios/icon-small.png" width="29" />
<icon height="58" platform="ios" src="www/res/icon/ios/[email protected]" width="58" />
<icon height="87" platform="ios" src="www/res/icon/ios/[email protected]" width="87" />
<splash height="1136" platform="ios" src="www/res/screen/ios/Default-568h@2x~iphone.png" width="640" />
<splash height="1334" platform="ios" src="www/res/screen/ios/Default-667h.png" width="750" />
<splash height="2208" platform="ios" src="www/res/screen/ios/Default-736h.png" width="1242" />
<splash height="1242" platform="ios" src="www/res/screen/ios/Default-Landscape-736h.png" width="2208" />
<splash height="1536" platform="ios" src="www/res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
<splash height="768" platform="ios" src="www/res/screen/ios/Default-Landscape~ipad.png" width="1024" />
<splash height="2048" platform="ios" src="www/res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
<splash height="1024" platform="ios" src="www/res/screen/ios/Default-Portrait~ipad.png" width="768" />
<splash height="960" platform="ios" src="www/res/screen/ios/Default@2x~iphone.png" width="640" />
<splash height="480" platform="ios" src="www/res/screen/ios/Default~iphone.png" width="320" />
</platform>
<platform name="wp8">
<icon height="99" platform="wp8" src="www/res/icon/wp8/ApplicationIcon.png" width="99" />
<icon height="159" platform="wp8" src="www/res/icon/wp8/Background.png" width="159" />
<splash height="1280" platform="wp8" src="www/res/screen/wp8/screen-portrait.jpg" width="768" />
</platform>
<platform name="windows">
<icon height="150" platform="windows" src="www/res/icon/windows/Square150x150Logo.scale-100.png" width="150" />
<icon height="30" platform="windows" src="www/res/icon/windows/Square30x30Logo.scale-100.png" width="30" />
<icon height="50" platform="windows" src="www/res/icon/windows/StoreLogo.scale-100.png" width="50" />
<splash height="300" platform="windows" src="www/res/screen/windows/SplashScreen.scale-100.png" width="620" />
<icon height="120" platform="windows" src="www/res/icon/windows/StoreLogo.scale-240.png" width="120" />
<icon height="44" platform="windows" src="www/res/icon/windows/Square44x44Logo.scale-100.png" width="44" />
<icon height="106" platform="windows" src="www/res/icon/windows/Square44x44Logo.scale-240.png" width="106" />
<icon height="70" platform="windows" src="www/res/icon/windows/Square70x70Logo.scale-100.png" width="70" />
<icon height="71" platform="windows" src="www/res/icon/windows/Square71x71Logo.scale-100.png" width="71" />
<icon height="170" platform="windows" src="www/res/icon/windows/Square71x71Logo.scale-240.png" width="170" />
<icon height="360" platform="windows" src="www/res/icon/windows/Square150x150Logo.scale-240.png" width="360" />
<icon height="310" platform="windows" src="www/res/icon/windows/Square310x310Logo.scale-100.png" width="310" />
<icon height="150" platform="windows" src="www/res/icon/windows/Wide310x150Logo.scale-100.png" width="310" />
<icon height="360" platform="windows" src="www/res/icon/windows/Wide310x150Logo.scale-240.png" width="744" />
<splash height="1920" platform="windows" src="www/res/screen/windows/SplashScreenPhone.scale-240.png" width="1152" />
</platform>
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<engine name="android" spec="~5.2.2" />
</widget>
How can I edit the plugin?
I just edit the source code in GoogleCode and compile?
The openyoutubeactivity.jar in @Glitchbone It is more up to date?
Using this plugin in an Ionic 2 project, and the video is always forced to landscape with no way to change it,
Hi, this is working on older versions of android but getting a "Can't play this video." error when trying to use it in Android 5.1. Any idea what's going on?
Hi !
Great plugin, thanks for sharing it !
No chance to get it supporting WP8 as well ?
Hi,
first thanks for your plugin it's very cool and useful.
I would know how I can just come back on Cordova WebView when I make a touch event on the video player.
Currently I can hide the player controls and I handle the touch event on the player but I don't know how switch between the VideoController to the CordovaController.
Have you maybe an idea ?
Thanks.
I would like to use this plugin on a table-top box that can use ethernet, but the plugin doesn't recognize an ethernet connection and defaults to low-quality video. Would it be possible to either, set the default to be high-quality or perhaps add the ability to choose quality within the app?
If adding options would be a possibility, could other options be added as well?
Thank you.
Hello,
This plugin is not working on all android phones. It is working fine in almost all samsung phones, but in one plus one it is behaving abnormal i.e. it is working at times and freezes at times.
Please let me know if you have any solution for this
Hi,
I use your player and it work really well!
I just have an issue with the video quality, when I'm on wifi the video start with high quality and when I'm on my mobile network (4G+ better than my wifi) it start with low quality, really low quality. Is it possible to force the quality when I launch the video?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.