use same video keys in all players

This commit is contained in:
j 2016-10-03 12:45:52 +02:00
commit 105e00917a
4 changed files with 23 additions and 17 deletions

View file

@ -19,10 +19,7 @@ pandora.ui.embedTimeline = function() {
video,
$title, $panel, $player, $annotations;
pandora.api.get({id: ui.item, keys: [
'duration', 'durations', 'layers', 'parts', 'posterFrame',
'rightslevel', 'size', 'title', 'videoRatio'
]}, function(result) {
pandora.api.get({id: ui.item, keys: pandora.VIDEO_OPTIONS_KEYS}, function(result) {
if (removed) {
return;
}