denverpost / sports

Development requests for the Denver Post sports department. http://www.denverpost.com/sports
0 stars 0 forks source link

Embed video players on extras pages #36

Closed danielboniface closed 7 years ago

danielboniface commented 7 years ago

Please create an extras page for each of the following SendToNews video players, then send me the link so that I can set them up as widgets on each section front.

Sports Home:

Rockies
Broncos
Nuggets
Avalanche
Golf
Motorsports
schneidan commented 7 years ago

Done. Here are the URLS:


http://extras.denverpost.com/sports-video/broncos.html
http://extras.denverpost.com/sports-video/golf.html
http://extras.denverpost.com/sports-video/motorsports.html
http://extras.denverpost.com/sports-video/nuggets.html
http://extras.denverpost.com/sports-video/rockies.html
http://extras.denverpost.com/sports-video/sports.html```
danielboniface commented 7 years ago

@schneidan We want to update the code in the extras iframes to get the video to pop out and float to increase viewability and revenue. This is an example of what the Rockies one should look like. Can you add the changes to all iframes?

<div class='s2nPlayer k-j4pmCl3u' data-type='float'></div><script type='text/javascript' src='http://embed.sendtonews.com/player3/embedcode.js?fk=j4pmCl3u&cid=5163&offsetx=0&offsety=0&floatwidth=400&floatposition=bottom-right' data-type='s2nScript'></script>

schneidan commented 7 years ago

This won't work on DP.com; the popout would only be able to attach within the iframe itself, because it won't have access to the parent window.