Usually I have a video file field where I upload the video and configure display to be open with JWPlayer. It then opens as JWPlayer when I output it in the template (node.tpl.php)
But now the problem is that in some cases, I'll get a link like
http://www.mytest.com/videos/myvideo.mp4
which I want to play in JWPlayer too. Is it possible that I can play a video link directly in JWPlayer?
Thanks.
Related
I'm trying my first CodeIgniter E-learning project that a teacher can upload their video file, and show it on lesson page.
The problem I was thinking about is if our customer has AVI video files and wants to upload them and show them on webpage, but most browsers do not support an AVI file fromat.
So how can I solve this problem?
I tried videojs but it doesn't work, Is there any suggestion?
I'm thinking about 2 options
Is there any plugin/software that can display AVI video and embed it on webpage?
Create convert process to convert AVI to MP4 => I think it will more complicated.
I found another option to do that: Use Google Drive API to upload and generate preview link to show. It worked!! If you guys have another effective way please let me know!
I think for embedding avi video. That is previously answered in how to embed an .AVI in html?
As for converting video. I think you can use something like ffmpeg or avconv for converting video in the backend to convert it first and then embed it or do it in Flash or in html video tag
Is there a jQuery plugin that could generate video preview thumbnails even before user uploads it? I notice that Facebook could do so but do not know any plugin that has the same functionality.
Try uploading a video on facebook, notice that even before you publish it or the progress bar is still in progress, preview images of the video are available already.
I tried searching the net and most answers pertain to installing ffmpeg having this as a reference.
I haven't tried it yet but looking into it, it seems that the video should be uploaded first before it could generate a thumbnail. But I what I want is a preview of the thumbnail to be generate BEFORE the video is uploaded (similar to facebook).
This is so that I have the transaction to select a video and generate a preview thumbnail at the same time even before the video is published on the server. Once I hit the "publish" button, it will upload the video to the server, upload/save generated preview thumbnail, save info to database at the same time.
I don't think you have to download a video and make its thumbnail. You can make a request via Facebook API to get it. You just have to precise that you want the attribute "picture" in the result; this attribute contains the path of the thumbnail of the video. You will find more explanation by following this link: https://developers.facebook.com/docs/graph-api/reference/v2.1/video/
I am working on a site where the admin inserts the embed code in the backend and the video is played on the frontend. I want to ask if it is possible to have preview(multiple images) for the video as the video is not in the database or on the server, we are just using the embed src for the video.
for example:
<iframe src="**abc.com/embed**" some parameters></iframe>
Now i copied the src and inserted into the database. I want to have the preview of the video? Is it possible..???
I hope i have cleared myself.
Help will be appreciated.
This is a progress after the question Embedding Image/Video Stream into webpage that was answered for the picture only using curl, video is still an open issue.
Resuming, I need to avoid that the visitor of a web page see the real source of an image streming. So I want to embed the video a some wrapper php page that doesnt use any userid/password but is under my control. Embedding the video stream into any HTML page it's really easy:
<img src="http://5.246.77.89:8090/videostream.cgi?user=stack&pwd=overflow&resolution=32&rate=15" alt="">
For some time I'll give you the opportunity to test the source of the video streaming that I want to hide here
http://93.58.198.189:8090/videostream.cgi?user=stack&pwd=overflow&resolution=32&rate=15
Now all I need is a simple web page let say video.php that is able to stream the video without asking credentials and hiding the original source IP, something like
<img src='my.php'>
How can I obtain this behavior?
Note that despite the source is a video stream, the header is image/jpeg as you can see by yourself and it works with any browser. I've tried to use
<?php
header("content-type:image/jpeg");
passthru("http://93.58.198.189:8090/videostream.cgi?user=stack&pwd=overflow&resolution=32&rate=15");
?>
but for some reason doesn't work. Any idea?
Good question, i was also had a same problem.
Now its solved for me. just you can go to you tube video url where your video is stored and below the video there is share ad embed, you go to embed and there you will get a url which can be embeded to your video.php. it works.
I used vlc web plugin to display video player. How to display a video in a web page with audio and video filter option. vlc web plugin does not have any video and audio filter option
you can use the HTML5 tag.example:
<audio controls="controls" autoplay="autoplay" src="example.mp3"></audio>
and also play the video you can use the tag
more information you can read about HTML5 knowledge.
Writing if somebody comes across this question in the future: The question asks about video, the posted answer talks about audio, so that's why I'm posting:
It is mentioned in the docs that one can not use filters for video files in the VLC Web Plugin Embed.
What you could do is make the embed act like a "regular" element (you'll have to research a bit, but I think it's the windowless property) instead of a "plugin" and overlay it with CSS3 filters (like -webkit-filter:contrast(50%)).