SOLVED HTML5 Video


Subject: HTML5 Video
Hello all.

I would like to add HTML5 video or possibly replace(?) the existing video tag, parameters, etc. in the bbcode file. However, I've no idea where to start or even know if it's possible.

For example, using Firefox or Chrome, I know the code itself can be very simple:

Code: [Download] [Hide] [Select]
<video controls width="" height="">
<source src="path_to_video/some_video.ogv">
</video>

... and by disabling bbcode and html in the post it works. But that's not very practical since you lose your formatting and so on.

Looking at the bbcode.php I'm guessing I would need to define, say, html5video in the array, then in the tag and finally something in the content (parameters) section. And that's where I'm stuck. What would I place for the content?
Example:

Code: [Download] [Hide] [Select]
... array
'html5video' => array('nested' => true, 'inurl' => true, 'allow_empty' => false),
... tag
|| ($tag === 'html5video')
... parameters
elseif ($tag === 'htmlvideo')
{
$html = parameters?
}


Any suggestions would be greatly appreciated.

Thank you,

Dan :)

Profile PM  
Subject: Re: HTML5 Video
LongTail wrote: 
By downloading, I agree to the non-commercial license.

Taking note of the above you should be able to replace the original player with this Player

The thread below could give some idea of how to do it:
http://www.icyphoenix.com/viewtopic.php?f=4&t=8162

Subject: Re: HTML5 Video
there is the option to add custom bbcodes in icy2.0, i havn't looked at it yet but you might be able to use that!

:mrgreen: :mrgreen:

Subject: Re: HTML5 Video
You can't add HTML 5 code to a template which is still HTML 4.

First we would need a new HTML 5 style... and considering the amount of files it would require a lof of time to be created.

Subject: Re: HTML5 Video
Hi all,
Thank you for the replies. :)

@Joshua203. Thank you. I've implemented that player on my site; very cool

@DWho. I didn't know that about custom bbcodes in Icy 2.0. I will have to check it out, thank you!

@Mighty Gorgon. I see your point. Obviously trying to implement such a thing would be way too involved; me not realizing this until you pointed it out. Thank you for your timely and invaluable reply.

I'm quite happy with JW Player as it works well and close to what I wanted in the first place.

Profile PM  
Subject: Re: [SOLVED] HTML5 Video
Just for you to know... I have installed jPlayer into Icy Phoenix, because I wanted to use it for AJAX Chat sounds.

You already have the script there... I think it would be easy to integrate it in a BBCode, you can check the developers guide here for further instructions:

jPlayer Developers Guide


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.4375s (PHP: 5% SQL: 95%)
SQL queries: 15 - Debug Off - GZIP Enabled