Bug with cordova (ionic) url protocol
Closed this issue · 2 comments
Nightbr commented
Hey,
I have an issue with the url protocol of video. In your code, you set url src="//www.youtube.com/embed/
but in mobile app with cordova, the protocol is file://
so it throw an error...
I think today https
is a requirement everywhere so we can just hardcoded src="https://www.youtube.com/embed/
in this lib.
If you're not agree with this, we can create a parameter to set the protocol manually and use it when it is set.
Let me know what do you want and I will create a PR ASAP.
Thanks!
SamirHodzic commented
Yes, https
is kinda main for those video streaming services. Thanks, will check out PR. 👍
SamirHodzic commented
Closing per #10.