jwplayer

How to enable dynamic bit rate switching in Amazon S3 Cloudfront?

浪尽此生 提交于 2019-12-24 08:24:26
问题 I am using JWPlayer with RTMP streaming for a video with several bitrate quality levels. In the JWPlayer configuration you specify the qualities like this : 'levels': [ { bitrate:"2920", width:"1920", file:"videos/sintel-1920.mp4" }, { bitrate:"2080", width:"1280", file:"videos/sintel-1280.mp4" }, { bitrate:"2080", width:"720", file:"videos/sintel-720.mp4" }, { bitrate:"650", width:"480", file:"videos/sintel-480.mp4" }, { bitrate:"420", width:"320", file:"videos/sintel-320.mp4" } ] I thought

jw player resume after refresh

别等时光非礼了梦想. 提交于 2019-12-24 05:04:55
问题 how to make the JW Player have a "resume" or "remember" function which marks position of last play position of movie and remembers it when you come back to watch video again? So, if a viewer stopped watching a movie at 36:25 minutes on a 2 hour movie and had to go offline, when they returned to watch movie, the JW player would open to the correct position and "resume" play. 回答1: This should get you started: http://osric.com/chris/jwplayer/jwplayer5.4/ontime.html The JavaScript from that page

Optimal file size for a html5 background video stream with JWPlayer?

◇◆丶佛笑我妖孽 提交于 2019-12-24 03:20:10
问题 On the homepage of my site I have a full screen html5 background video playing through JWPlayer. My internet connection is so fast it loads instantly and plays perfectly. So I'm wondering what would be a optimal file size, or how to test this? Currently I've got a good quality 1 minute version at 10MB. Thanks 回答1: If you want to emulate various web speeds, check out Charles Proxy (http://www.charlesproxy.com/). I'd hesitate to say there's an "optimal" size for a bg video. As always, smaller

Flash plugin failed to load - jwplayer

最后都变了- 提交于 2019-12-24 00:50:25
问题 I have normal jwplayer set up here in jsfiddle. Link : https://jsfiddle.net/hiteshbhilai2010/nL9tazxo/12/ but it is throwing the error in video player screen. Please help me debug this issue 回答1: Not sure why the flash plugin not supported error is happening, but I changed the primary player mode to explicitly be html5, which solves the issue here for you. https://jsfiddle.net/simsketch/nL9tazxo/14/ jwplayer("player-widget-container").setup({ file: "http://182.70.125.99/edge360/videos/cam1

Changing JWPlayer video onClick

强颜欢笑 提交于 2019-12-23 23:29:11
问题 This is what I have so far below. If I hard code the file: media/video2.mp4 in the function it works but when I make it a variable its not passing it through correctly because I keep get this error: Error loading player: No playable sources found Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

How to add custom cue points in JW player

瘦欲@ 提交于 2019-12-23 20:38:04
问题 Say I have an array of time in seconds. var points = [5, 30, 50]; So when the jw player is initialized, I want to read this array and then place cue points[markers] on the timeline. And once the seek bar reaches the cue point, I want to call a custom function that performs something. The documentation of Jw is very plain but I found this - Adding chapter markers I need something similar to this with full control on the cue points. Is there any way to achieve this or should I use a custom

Apache ignoring mime-type

时光总嘲笑我的痴心妄想 提交于 2019-12-23 12:49:10
问题 I have a page that is using JWPlayer to serve a video in a variety of format choices (mp4, m4v, ogv, webm). However, when accessing the page from Firefox (23.0.1) or with PHP curl, Apache is returning a header indicating the content-type as text/plain . Firefox (and newer IE versions, unless in compatibility mode) will not play the video. I have tried adding the mime types in mime.types , httpd.conf , and in an .htaccess file in the directory. mime.types video/mp4 mp4 m4v video/ogg ogv video

CORS configuration for S3-hosted HLS video in JW Player

左心房为你撑大大i 提交于 2019-12-23 04:28:45
问题 I'm having trouble casting a self-hosted JW Player video. Here's the relevant reference in the Javascript API for configuring the player. https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/#casting Here are some details about my setup: 1) The video is in HLS streaming format. So the file that I'm passing to the JW Player Javascript API has .m3u8 extension. 2) The video is hosted on S3. 3) The video is served through CloudFront. Here's the code

How to display HTML after video play finishes?

女生的网名这么多〃 提交于 2019-12-23 01:46:12
问题 I am new here. I would like to know how can I display HTML code after a video is finished playing. I am using FlowPlayer (http://www.flowplayer.org) . I have tried to achieve this using JW Flash Player (http://www.longtailvideo.com/players/jw-flv-player/), but was unable figure out anything. Also, let me know if it's possible or not. And if it is, please share with me and everybody on StackOverflow. P.S. I am using PHP. 回答1: According to the FlowPlayer documentation an onFinish event is fired

JW Player javaScript API not working

本小妞迷上赌 提交于 2019-12-22 13:56:14
问题 I use jwplayer.version = '5.10.2295' and browser chrome 25. My code: jwplayer('container').setup({ file: 'path...', width: '300px', height: '100px', autostart: true, modes: [ { type: 'html5' }, { type: 'flash', src: 'path...' } ] }); When page is loaded my resource (mp4 video file) starts to show correctrly - it is ok. But there is no reaction on simple jwplayer JS API methods, suche as jwplayer().stop(), for example. And some controls are not available (play, top, seek), but 'to full screen