PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Sep 30, 2020 4:40 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Video Without Youtube?
PostPosted: Tue Dec 23, 2014 3:40 am 
Offline
Forum Newbie
User avatar

Joined: Mon Jul 04, 2005 3:26 am
Posts: 7
I have a video clip that I want shown on my website. I downloaded it and now it is a file in the windows media player format. Let's say it is the video clip that is the death scene from "The Interview" and I am sure youtube would remove it. So, how do I show the video on my website without using youtube? I think I remember doing this with a third party tool.

I remember something that is open source but I do not remember what it is called. As long as you were not doing it for profit, you did not have to pay for it, as I recall.

I tried to find a solution by googling but, no matter what I tried as a search statement, the search results were always something that assumed the user was looking for some information about youtube.

Even instructions online that discuss embedding a video in XML, in truth, discuss using youtube.


Top
 Profile  
 
PostPosted: Tue Dec 23, 2014 2:01 pm 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
WMV isn't supported as widely as other formats so you might need to convert it to something else (like MP4 or FLV).

Basically you upload the video somewhere to your site, then embed a Flash player which has the URL to the video (and then plays it). A more modern alternative is to use HTML 5's <video> which is supported on most browsers nowadays but it's a bit more limited in the number of video formats it supports.


Top
 Profile  
 
PostPosted: Wed Dec 24, 2014 12:33 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13592
Location: New York, NY, US
Take a look a players like videojs.com or jplayer.org. You will want to convert you video to MPEG4. Players like this will use the HTML5 <video> tag, but provide fallback to play the video in a Flash player as a fallback. They are pretty easy to implement.

_________________
(#10850)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group