Merge pull request #1011 from jorgesumle/master

Remove invalid and useless HTML from embed player
This commit is contained in:
Omar Roth 2020-02-06 20:12:17 -05:00 committed by GitHub
commit 9a3becdecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ var shareOptions = {
title: player_data.title, title: player_data.title,
description: player_data.description, description: player_data.description,
image: player_data.thumbnail, image: player_data.thumbnail,
embedCode: "<iframe id='ivplayer' type='text/html' width='640' height='360' src='" + embed_url + "' style='border:none;'></iframe>" embedCode: "<iframe id='ivplayer' width='640' height='360' src='" + embed_url + "' style='border:none;'></iframe>"
} }
var player = videojs('player', options); var player = videojs('player', options);