Skip to content

Commit fd10762

Browse files
committed
Merge pull request #15 from DarioDP/patch-1
Update for Kindle
2 parents b4bfbcf + 7e1cc07 commit fd10762

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

www/Html5Video.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Html5Video.prototype.initialize = function(videos) {
1717
return false;
1818

1919
me._videos = videos;
20-
if (device.platform == 'Android') {
20+
if (device.platform == 'Android' || device.platform == 'amazon-fireos') {
2121
return cordova.exec(function(result) {
2222
me._videos = result;
2323
}, function(err) {
@@ -34,7 +34,7 @@ Html5Video.prototype.play = function(videoId, callback) {
3434
var me = this;
3535
me._callbacks[videoId] = callback;
3636

37-
if (device.platform == 'Android') {
37+
if (device.platform == 'Android' || device.platform == 'amazon-fireos') {
3838
return cordova.exec(function(result) {
3939
}, function(err) {
4040
console.error('html video error: ' + err);
@@ -78,4 +78,4 @@ Html5Video.prototype._play = function(video) {
7878
video.play();
7979
}
8080

81-
module.exports = new Html5Video();
81+
module.exports = new Html5Video();

0 commit comments

Comments
 (0)