GithubHelp home page GithubHelp logo

brianfranklin / microsoftfriendlybrightcoveplayer Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 3 KB

Modified Brightcove Smart Player Javascript file that supports the use of smart players on Xbox One and Windows Phone

License: Other

JavaScript 100.00%

microsoftfriendlybrightcoveplayer's Introduction

NOTE: This utility was made before the existence of the modern "Perform" or "Brightcove Player" naming. This utility is specific to the older generation of players known as "Smart Players" and should not be used with current Brightcove video players. Newer players already support modern MS environments.

Modified Brightcove Smart Player Javascript file that supports the use of smart players on Xbox One and Windows Phone

By default, Brightcove's Smart Player embed logic explicitly looks for iOS, Android, and Silk devices, but neglects Windows Phone and Xbox despite HTML5 support. This script file can be used to ensure that HTML5 fallback will work on Xbox One and Windows Phone devices. This script overwrites some of Brightcove's embed methods, so it may cause unexpected behavior if Brightcove modifies this logic.

To use, simply include this script directly after your Brightcove Javascript:

<script src="https://sadmin.brightcove.com/js/BrightcoveExperiences_all.js"></script>
<script src="MicrosoftFriendlyBrightcovePlayer.js"></script>

The method overwrite must occur before brightcove.createExperiences() is called, so if you experience problems, double-check that the modified methods are being used when players are instantiated.

microsoftfriendlybrightcoveplayer's People

Contributors

brianfranklin avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.