JWPlayer Web html5 player instance

Source: Internet
Author: User

The source code is also simple

  code is as follows copy code

<script type= "Text/javascript" src= "Jwplayer.js" ></SCRIPT>
&NBSP
 
<script type= "Text/javascript >jwplayer.key=" 81vjyjmc9lewkqfyqhkzt7mk/8d5jbzm/lrada== "; </script>
 
<div id=" myelement ">loading the Player...</div>
 
< Script type= "Text/javascript"
    jwplayer ("MyElement"). Setup ({
         file: "A.mp4",
        Image: "A.png"
    });
</script><script type= "Text/javascript" >jwplayer.key= "81vjyjmc9lewkqfyqhkzt7mk/8d5jbzm/lrada==" ; </script>

Jwplayer need a license, currently is free, you go to his website registration account can get a free license. That key.
The license of the input error will show
Error Setting up Player:
Invalid License Key

But the product that JS develops, estimate also can find out the code of it.

After testing the sentence to go, can also play, at present do not know how to add this sentence and do not add any difference.

This is completely JS code to write the player, not bad.

Official website and code download http://www.longtailvideo.com/jw-player/

Want to get a video on their website What, take this piece of code or quite give force.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.