Jump to content

video on my site


westman

Recommended Posts

hi all,i don't need any script help just yet but i do need help with a method.i am going to right script for users to upload there videos and other users can see them.i have never worked with videos before and need to know the best method to do this, i have some questions too. what is the best video format to save the uploads?can videos be seen without flash?how do i make the video player or where can i get a free one?how do i get an image and duration out of the video to display in a menu?

Link to comment
Share on other sites

With HTML5 videos usually get encoded in multiple formats so that every browser can play at least one format. You can also fall back to Flash video for browsers that don't support HTML5. There are plenty of Flash video players online if you search for them, HTML5 does not need an external player. For processing videos I know a lot of people use ffmpeg to do that, you can look into that if it's installed on your server.

Link to comment
Share on other sites

i could not find the info.what video format can i us for html5?
you should really read the link carefully? The information is in the accepted answer, which is probably the first post after the OP that you should have read. Also, you can find this information out right in the w3schools HTML5 tutorialshttp://www.w3schools.com/html/html5_video.asp And of course, you can always Google. Edited by thescientist
Link to comment
Share on other sites

If you're talking about Flash, the player is always SWF. The video player could be programmed to use a variety of formats, depending on what Flash natively supports.

Link to comment
Share on other sites

i am having problems with this html5 tag....

<video id="my_video_1" class="video-js vjs-default-skin" controls  preload="auto" width="640" height="264" poster="my_video_poster.png"  data-setup="{}">  <source src="my_video.mp4" type='video/mp4'>  <source src="my_video.webm" type='video/webm'></video>

its not working for me i got the script from http://videojs.com/

Link to comment
Share on other sites

    <video id="myvid1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264"      poster="http://mysite.com/hdvideo/0/myvid.png"      data-setup="{}">    <source src="http://mysite.com/hdvideo/0/myvid.mp4" type=\'video/mp4\' />    <source src="http://mysite.com/hdvideo/0/myvid.webm" type=\'video/webm\' />    <source src="http://mysite.com/hdvideo/0/myvid.ogv" type=\'video/ogg\' />  </video>

its not playing

Link to comment
Share on other sites

does the video need to preload? i.e. how big is it? can you provide a live link to your site so we can test this for ourselves?

Link to comment
Share on other sites

here is my answer for you. what is the best video format to save the uploads? MPEG4 video with MP3 audiocan videos be seen without flash? flash is required to play videos in web but i think you can use windows media playerhow do i make the video player or where can i get a free one? you can download one from http://www.longtailvideo.com/playershow do i get an image and duration out of the video to display in a menu? http://www.longtailvideo.com/players there is a setting in here just try to explore on.

Edited by JohnTipperton
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...