Added allowfullscreen to iframe

This commit is contained in:
zeldaroot 2021-06-24 00:16:21 +03:00
parent 4af2400344
commit fddbdef4db
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ function codePlayer(type, movie, options) {
code.player =
'<iframe id="cinemapress-cdn" src="' +
movie.player.replace(/^.*?(http|\/\/)(.*$)/i, '$1$2') +
'" frameborder="0"></iframe>';
'" frameborder="0" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" mozallowfullscreen="mozallowfullscreen"></iframe>';
}
}
if (code.player) {