-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't play the video if i set src inside the subscribe #26
Comments
You ever get this working? It might some zone issue. I don't do much ng2 sorry. |
i havent find a solution for this yet but if i ever able to upgrade my app to the new version i will try again. Right now (even though i don't like it ) i am getting my video item when user tap the video in my galery page before navigate and writing that video item to my global config to read for the player. |
try set src in
|
Should work fine with ngZone from everything I've read and @kazemihabib comment above. This has come up on the NS slack channel before also and the solution was the zone stuff (ng2 isn't my specialty yet) 👍 |
Hi,
in my app i need to get video informations (video path etc) from my server and with that informations i want to play the video.But even though i can set the video src in the subcribe part of the code video dont play and player act as there is no src setted (even if i call outside functions inside of subcribe code blok to set src it doesnt work).but if i set src outside of the subcribe code block it work perfectlly.
ngOnInit() {
this._videoPlayer =
thanks.
The text was updated successfully, but these errors were encountered: