File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Html5Video.prototype.initialize = function(videos) {
17
17
return false ;
18
18
19
19
me . _videos = videos ;
20
- if ( device . platform == 'Android' ) {
20
+ if ( device . platform == 'Android' || device . platform == 'amazon-fireos' ) {
21
21
return cordova . exec ( function ( result ) {
22
22
me . _videos = result ;
23
23
} , function ( err ) {
@@ -34,7 +34,7 @@ Html5Video.prototype.play = function(videoId, callback) {
34
34
var me = this ;
35
35
me . _callbacks [ videoId ] = callback ;
36
36
37
- if ( device . platform == 'Android' ) {
37
+ if ( device . platform == 'Android' || device . platform == 'amazon-fireos' ) {
38
38
return cordova . exec ( function ( result ) {
39
39
} , function ( err ) {
40
40
console . error ( 'html video error: ' + err ) ;
@@ -78,4 +78,4 @@ Html5Video.prototype._play = function(video) {
78
78
video . play ( ) ;
79
79
}
80
80
81
- module . exports = new Html5Video ( ) ;
81
+ module . exports = new Html5Video ( ) ;
You can’t perform that action at this time.
0 commit comments