Skip to content

Commit

Permalink
general: fix some ooyala Flash players
Browse files Browse the repository at this point in the history
  • Loading branch information
iparamonau committed Oct 19, 2016
1 parent 7e40e60 commit 64b913b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion plugins/domains/cinesport.video.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ module.exports = {
href: href,
type: CONFIG.T.text_html,
rel: [CONFIG.R.player, CONFIG.R.html5],
"aspect-ratio": 1 / 0.5725
"aspect-ratio": 1 / 0.5725,
scrolling: 'no'
};
}

Expand Down
5 changes: 3 additions & 2 deletions plugins/links/promo/ooyala.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = {
rel.push(CONFIG.R.html5);
} else {
href = href + 'player.swf?embedCode=' + __ooyalaPlayer.embedCode + '&keepEmbedCode=true';
type = CONFIG.T.flash;
type = CONFIG.T.text_html; // there's a 302 re-direct at the moment so it returns as text/html
}

return cb(null, [{
Expand Down Expand Up @@ -92,6 +92,7 @@ module.exports = {
"http://www.orlandocitysc.com/post/2016/05/16/barber-shop-darwin-cer-n?autoplay=true",
"http://www.thisisinsider.com/cheesy-breakfast-potatoes-2016-5",
"http://www.unotv.com/videoblogs/tecnologia/gadgets-tecnologia-apps/detalle/javier-matuk-20-enero-como-te-gustaria-mesas-pinball-futuro-986876/",
"http://www.livescience.com/54668-spacex-lands-again-first-stage-on-droneship-despite-extreme-velocities-video.html"
"http://www.livescience.com/54668-spacex-lands-again-first-stage-on-droneship-despite-extreme-velocities-video.html",
"http://matchcenter.mlssoccer.com/matchcenter/2016-09-10-philadelphia-union-vs-montreal-impact/details/video/88433"
]
};

0 comments on commit 64b913b

Please sign in to comment.