Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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
 



 
nothereSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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!

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
nothereSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron