-
Notifications
You must be signed in to change notification settings - Fork 6
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
TypeError: Cannot read property '0' of undefined when i use videogular-flash #6
Comments
i guess u for got add videogular script |
what is version videogular u used? The latest videogular version had change many thing, i do not have time for fix, and videogular-flash is discontinue project |
i am using http://static.videogular.com/scripts/videogular/latest/videogular.js videogular v1.2.6. So if i want to play .flv or .swf video then how can i do it in videogular v1.2.6. i want to play all type of video in videogular. Is it possible |
@sankesh, you can see code in here: https://github.com/NamPNQ/bower-videogular-youtube, and make edit for videogular-flash to work |
i am getting below mention error. i guess it because the flash.js is called before the API is assigned value in onPlayerReady()
$scope.API = null;
$scope.onPlayerReady = function(API) { $scope.API = API;};
After $scope.initfunction it call flash.js and it is getting API source as null.The error which i got is as below
TypeError: Cannot read property '0' of undefined
at getSource (flash.js:153)
at init (flash.js:54)
at angular.js:17782
at e (angular.js:5490)
at angular.js:5762(anonymous function) @ angular.js:12416b.$get @ angular.js:9203(anonymous function) @ angular.js:17785e @ angular.js:5490(anonymous function) @ angular.js:5762
so is there any solution for it.i want to play all the video format in videogular (YouTube, mp4,.swf,.FLV)
The text was updated successfully, but these errors were encountered: