Jump to content

westman

Members
  • Posts

    600
  • Joined

  • Last visited

Everything posted by westman

  1. westman

    ffmpeg

    hi all,i am trying to get an image and duration from a mp4 file and i found this from google ffmpeg -i Video.mpg Pictures%d.jpg what type of code is it? i tried it in php and html.how do i get my image and duration with ffmpeg?
  2. westman

    video on my site

    no am taking about having my own 1 page menu like.... <table width="100%" border="0" cellspacing="5" cellpadding="0"> <tr> <td><?php echo $vid1_pic ?></td> <td><?php echo $vid2_pic ?></td> <td><?php echo $vid3_pic ?></td> <td><?php echo $vid4_pic ?></td> </tr> <tr> <td><?php echo $vid1_duration ?></td> <td><?php echo $vid2_duration ?></td> <td><?php echo $vid3_duration ?></td> <td><?php echo $vid4_duration ?></td> </tr></table> now, how do i get an image ($vid4_pic) and duration ($vid4_duration) out of a mp4 video to display in my menu?
  3. westman

    video on my site

    don't need that info just need to know, how do i get an image and duration out of a mp4 video to display in a menu?
  4. <?phpif ($_GET['page'] != "") {if ($_GET['page'] == "home") {$page_div = $homepage;} else if ($_GET['page'] == "login") {$page_div = $login_page;}else if ($_GET['page'] == "signup") {$page_div = $signup_page;} else if (($_GET['page'] == "account") && ($login_count == 1)) {$page_div = $account_page;}else{$page_div = $homepage;}}else{ $page_div = $homepage;}?> <?php echo $page_div ?>
  5. westman

    video on my site

    ok i got the video looking and feeling like it should the last and only question i have is.... how do i get an image and duration out of a mp4 video to display in a menu?
  6. westman

    video on my site

    when i downloadhttp://www.longtailvideo.complayer and install it on my site, it comes with a menu in the play bar how do i remove the menu button? i have been trying for days.plus how do i get an image and duration out of the video to display in a menu?
  7. westman

    video on my site

    the size of the vid is 24mb i do not know how to work with preload and i can't provide a live link
  8. westman

    video on my site

    mysite.com is an example when i load the page i can see ... poster="http://mysite.com/hdvideo/0/myvid.png" is working, so the paths are all goodbut it will not play the video
  9. westman

    video on my site

    <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
  10. westman

    video on my site

    i do but named myvid
  11. westman

    video on my site

    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/
  12. westman

    video on my site

    Rahul,thank you, your info was very helpfulbut can my video be .flv to work or dose it need to be .swf ?
  13. thank you so much it works fine again thank you
  14. i like your script but i dose not work for my phpthe check box name has to be diffident for all check boxes like.... <inputtype="checkbox"name="1"value="yes"onclick="chkcontrol(this)"> <input type="checkbox" name="2" value="yes" onclick="chkcontrol(this)"> <input type="checkbox" name="3" value="yes" onclick="chkcontrol(this)">is there a way?
  15. westman

    video on my site

    i could not find the info.what video format can i us for html5?
  16. document.form1.number is not on my page i just copied and pasted the script and now trying to make it work i have no Javascript errors running and i don't know DOM methods. any help with a simple solution?
  17. i am trying to get no more than 6 check boxes checked at one timethis is what i have.... function chkcontrol(j) {var total=0;for(var i=0; i < document.form1.number.length; i++){if(document.form1.number[i].checked){total =total +1;}if(total > 6){alert("maximum of 6")document.form1.number[j].checked = false ;return false;}}} <input type="checkbox" name="1" id="present" value="yes" onclick="chkcontrol(0)"><input type="checkbox" name="2" id="present" value="yes" onclick="chkcontrol(1)"><input type="checkbox" name="3" id="present" value="yes" onclick="chkcontrol(2)"> and so on.... its not working any help?
  18. westman

    video on my site

    what video format does html 5 need and where can i see an example of one that works?
  19. westman

    video on my site

    is using html5 video better than using flash?
  20. westman

    video on my site

    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?
  21. westman

    image size

    thank you so mush list($width, $height, $type, $attr) = getimagesize("img/flag.jpg"); works well
  22. westman

    image size

    hi all,say if i have an image "image4.jpg"how do i get the size in a $ like "200x400"?
  23. how do i get my left menu <div> at the top of my page no mater how high my page is?
  24. westman

    hide image url

    is it possible to download 2 or 3 .jpg files at the same time with my download script?
  25. westman

    hide image url

    got it working ;)the problem was my $i was using... readfile('images/$pics/3.jpg');and now i am using... readfile('images/' . $pics . '/3.jpg');and its all working fine thank you every one for your help
×
×
  • Create New...