jwplayer

JW Player read from php

对着背影说爱祢 提交于 2019-11-30 16:48:15
I'm totally new to PHP and JW player. I have the following code that reads a video file in php and plays it as a video file in the browser: loadfile.php <?php header("pragma : no-cache"); header("Expires: Thu, 19 Nov 1981 08:52:00 GMT"); header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0"); header("Content-Description: File Transfer"); header("Content-Type: video/mp4"); header("Content-Location: videos/testvid.mp4"); header("Content-Transfer-Encoding: binary"); header("Content-Length: ".filesize("videos/testvid.mp4")); readfile("videos/testvid.mp4"); ?> JW

How to get fullscreen video on jwplayer when using with fancybox

穿精又带淫゛_ 提交于 2019-11-30 14:32:26
How do I go about getting fullscreen video on jwplayer when using it with fancybox? Right now I have fancybox opening up a div that contains jwplayer embedding and it works fine, the video plays when pressing play etc so that is all good. The only problem is when I press fullscreen on the video it plays the fullscreen video BEHIND the browser and facybox popup so I cant see it properly. I need the fullscreen to be brought into focus. I noticed that fancybox uses a lot of z-index values, is that what is causing it? Any help will be much appreciated, thanks. It all depends how you are embedding

How to combine a .mp4 video with a .wav audio with an offset in ffmpeg from command line?

杀马特。学长 韩版系。学妹 提交于 2019-11-30 13:41:00
I've got a TV clip in mp4 format containing audio and video, and an WAV audio_commentary track. I've been trying to combine them in ffmpeg and then play it online with a flash player (which can only take h264 format) What's the best ffmpeg command to accomplish this? My inputs are MP4 video, WAV audio, and an offset in seconds, the time the audio commentary starts relative to the start of the mp4 video. I tried ffmpeg -i input_audio.wav -i input_vid.mp4 -vcodec copy output.mp4 and ffmpeg -vcodec copy -ss offset -i input_audio.wav -i input_video.mp4 output.mp4 nether of these do what I want and

Generate all the files (.vtt + sprite) for the Tooltip Thumbnails options of Jwplayer

旧巷老猫 提交于 2019-11-30 11:56:54
What is the best way to generate the ".VTT" file and the jpg sprite attached with it for the Tooltip Thumbnails of Jwplayer ( http://www.jwplayer.com/blog/building-tooltip-thumbnails-with-encodingcom/- ? I know how to make an image sprite with php, but i dont know how to make the screenshots of each video with the time in second.. I think there must be a server tool to do all the tasks it but i cant find it. Thanks I wrote a script to do this task. Given a video file (MP4 or M4v), generate thumbnail images, compress into a sprite, and generate a VTT file compatible with JWPlayer tooltip

How do I stream .flv files from SQL database

≯℡__Kan透↙ 提交于 2019-11-30 00:40:19
I want to store .flv files in the database and not in the file system. This is what I can do right now: Successfully convert .wmv and .mpeg to .flv with ffmpeg. Store images in SQL Server and show them on my page with an httphandler. Same with .avi and .mpeg videos. (It's up to the user's software if he can view it though) Play .flv files in the browser if the file is located in the file system and not in the database. What I can't do is: Stream .flv videos to JW Player directly from the database. (Stored as binary data) I've searched the internet for two days now but I can't get it to work.

How to combine a .mp4 video with a .wav audio with an offset in ffmpeg from command line?

泪湿孤枕 提交于 2019-11-29 18:54:21
问题 I've got a TV clip in mp4 format containing audio and video, and an WAV audio_commentary track. I've been trying to combine them in ffmpeg and then play it online with a flash player (which can only take h264 format) What's the best ffmpeg command to accomplish this? My inputs are MP4 video, WAV audio, and an offset in seconds, the time the audio commentary starts relative to the start of the mp4 video. I tried ffmpeg -i input_audio.wav -i input_vid.mp4 -vcodec copy output.mp4 and ffmpeg

Changing video content type (mime type) in CDN in drupal 7

一曲冷凌霜 提交于 2019-11-29 15:48:05
I am using media module to save media in CDN. To play videos, we are using jwplayer in Drupal 7. Jwplayer throws error in IE, If video is not of content type [mime type] * video/mp4 *. I have changed the existing CDN videos mime type from application/octet-stream to video/mp4 . Now whatever mp4 videos are being uploaded/saved to cdn should only be of video/mp4 mime type but when I upload mp4 videos in media module it is saved in CDN with mime type application/octet-stream, How do I change the uploaded mime type [content type] to video/mp4 . CDN module code function CDNtransfer_content($source,

Error loading media: File could not be played error in jw_player rails

心不动则不痛 提交于 2019-11-29 12:10:54
I am using the below mentioned code to play a video from my local disk. But its not working instead of that it's throwing Error loading media: File could not be played error error. I have mentioned the code below. <%= jwplayer_assets %> <%= jwplayer ({:file => "/home/user/Downloads/digital.mp4", :image => "/home/user/Downloads/Retreats_21.jpg"}) %> I'am new to this jw_player. so please help me to solve this issue. Thanks in advance.. Download jwplayer from http://www.longtailvideo.com/jw-player/download/ Put these files to the particular directory:- app/assets/jwplayer/jwplayer.flash.swf

show subtitle outside of player

£可爱£侵袭症+ 提交于 2019-11-29 10:50:40
I want subtitles to be shown outside of jwplayer . Can we have a separate division in player skin and have separate place for subtitle? I don't want the subtitles to be shown in the video, but we want the subtitle in separate place in outside the player. Is it possible to do with JWplayer? (or any player) I will be using JWplayer to do this so please tell the answers keeping that in mind it is urgent. I will really be thankful if there is any code or logic or anything though i am using JWplayer, but any help would be really appreciable. Going from the example on this page . The subtitles are

How do I stream .flv files from SQL database

Deadly 提交于 2019-11-28 21:34:35
问题 I want to store .flv files in the database and not in the file system. This is what I can do right now: Successfully convert .wmv and .mpeg to .flv with ffmpeg. Store images in SQL Server and show them on my page with an httphandler. Same with .avi and .mpeg videos. (It's up to the user's software if he can view it though) Play .flv files in the browser if the file is located in the file system and not in the database. What I can't do is: Stream .flv videos to JW Player directly from the