JWplayer

From Alessandro's Wiki
Jump to: navigation, search


pre 5.4

post 5.4

// http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/15995/jw-embedder-reference-guide
// google analytics plugin http://www.longtailvideo.com/addons/plugins/107/get-plugin.php?addon=107&vid=108
// other options :
//        flashplayer: flashOpts['player'],
//         events: {
//            onReady: function() { this.play(); },
//            onVolume: function(event) { alert("the new volume is "+event.volume); }
//            onComplete: function() { alert("the video is finished!"); }
//        }
//         playlist: [
//            { file: "/videos/bunny.mp4", "sharing.link": "http://bigbuckbunny.org" },
//            { file: "/videos/ed.mp4", "sharing.link": "http://orange.blender.org" }
//        ],
//       playlist: [
//            { duration: 32, file: "/uploads/video.mp4", image: "/uploads/video.jpg" },
//            { duration: 124, file: "/uploads/bbb.mp4", image: "/uploads/bbb.jpg" },
//            { duration: 542, file: "/uploads/ed.mp4", image: "/uploads/ed.jpg" }
//        ],
//        "playlist.position": "right",
//        "playlist.size": 360,
//        plugins: {
//            sharing: { link: true }
//        },
//         skin: "/skins/modieus/modieus.zip"
//   levels: [
//           { bitrate: 300, file: "http://example.com/videos/video_300k.mp4", width: 320 },
//            { bitrate: 600, file: "http://example.com/videos/video_600k.mp4", width: 480 },
//            { bitrate: 900, file: "http://example.com/videos/video_900k.mp4", width: 720 }
//        ],
//        provider: "http",
//  //      "http.startparam":"starttime"
//             provider: "rtmp",
//            streamer: "rtmp://rtmp.example.com/application/"