Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Mon May 20, 2013 9:45 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
HTML5
Author Message
 Post subject: HTML5
PostPosted: Thu Dec 08, 2011 3:27 am 
Offline

Joined: Thu Dec 08, 2011 3:18 am
Posts: 3
I am trying to installHMTL5 video player. The instructions are calling to upload the .ogg file, but my host will t recognize the .ogg to upload. Did anyone had this issue and how to overcome this?


Top
 Profile Send private message  
 
HTML5
Author Message
 Post subject: Re: HTML5
PostPosted: Thu Dec 08, 2011 10:58 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Hi,

how did you try uploading the file? Through a browser based upload form or through an FTP application like Cyberduck?
If it's the first then try with Cyberduck.
If you already tried with Cyberduck you better contact your hosting's support and ask them to allow .ogg files.

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
HTML5
Author Message
 Post subject: Re: HTML5
PostPosted: Fri Dec 09, 2011 1:48 am 
Offline

Joined: Thu Dec 08, 2011 3:18 am
Posts: 3
Thanks, I was able to connect through Filezilla since the host did not recognized the file extension .ogg - this resolved the problem with down loading.
However, could you help me with three more questions?
1) How do I get the video to "Autoplay" when someone visits the page?
2) How do I loop a video (not the same video as above)
3) How do I change to background of the player to "white"

Thanks for your help, my current code is below.



<html>
<head>
  <title></title>
  <script src="/zencoder/video.js" type="text/javascript" charset="utf-8"></script>
  <script type="text/javascript" charset="utf-8">

    // If using jQuery
    // $(function(){
    //   VideoJS.setup();
    // })
   
    window.onload = function(){
      VideoJS.setup();
    }

  </script>
  <link rel="stylesheet" href="/zencoder/video-js.css" type="text/css" media="screen" title="Video JS" charset="utf-8">
</head>
<body id="body">

  <div class="video-js-box">
   <video id="video" class="video-js" width="640" height="264"
poster="burpproductions.com/movies/BuRP.png" autobuffer>
      <source src="http://burpproductions.com/movies/BuRP.mp4" type="video/mp4">
      <source src="burpproductions.com/movies/BuRP.ogg" type="video/ogg">
      <object width="640" height="264" type="application/x-shockwave-flash"
        data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
        <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
        <param name="allowfullscreen" value="true" />
        <param name="flashvars" value='config={"clip":"http://burpproductions.com/movies/BuRP.mp4"}' />
        <img src="burpproductions.com/movies/BuRP.png" width="640" height="264" alt="Poster Image" title="No video playback capabilities." />
      </object>
    </video>
  </div>
</body>
</html>


Top
 Profile Send private message  
 
HTML5
Author Message
 Post subject: Re: HTML5
PostPosted: Fri Dec 09, 2011 7:56 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
For 1) and 2) add teh appropriate parameters in this line:

<video id="video" class="video-js" width="640" height="264"
poster="burpproductions.com/movies/BuRP.png" autobuffer>

so

<video id="video" class="video-js" width="640" height="264"
poster="burpproductions.com/movies/BuRP.png" autobuffer autoplay loop>

should do it. I currently don't know about 3) sorry.

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
HTML5
Author Message
 Post subject: Re: HTML5
PostPosted: Sat Dec 10, 2011 1:24 am 
Offline

Joined: Thu Dec 08, 2011 3:18 am
Posts: 3
Cedric, Thank you very much for your help. Merry Christmas!


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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:  
cron






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield