nativescript-youtubeplayer
nativescript-youtubeplayer copied to clipboard
black screen
Not sure if it happens to others, but I just tried this plugin on a blank project.. I created my own key, put the following element:
<YoutubePlayer
id="player"
src="{{ settings.player.src }}"
apiKey="***************************"
no-options="settings.player.options"
height="250" width="250"
backgroundColor="gray"></YoutubePlayer>
Run it with
tns run android
I'm using it with Angular, imported it according to the docs
And I just receive a black box ( which isn't even in 250px it's always 100% ) that does nothing ... Any ideas ?
@arLevi Are you missing a this?
Did you test the layout with a hard string?
src="WKSIRXa6OLk"
(It's an id, not a url).