Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Updated bbcode_video template with available HTML5 Players Details »
Updated bbcode_video template with available HTML5 Players
Mod Version: 1.1, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Jun 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.0 Rating: (10 votes - 4.90 average) Installs: 61
Released: 28 May 2012 Last Update: Never Downloads: 0
Supported Template Edits Re-usable Code  

Brought to you by BirdOPrey5
http://www.birdoprey5.com/


NEW- April 5, 2013- Updated Facebook to HTML5, flash player stopped working!

The template bbcode_video is the one that decides what embed code is used for the built in video embedding sites.

This template relies mostly on Flash- only YouTube was ever updated to HTML5 in the stock bbcode_video template of VB 4.2.0.

This new edit has HTML5 Players available for Vimeo and Dailymotion as well. It also has the code there that was to help IE6 compatibility removed as 4.2.0 officially dropped support for IE6 anyway.

I have also made some of the video screens larger where appropriate.

The benefits of HTML5 players is they will work on iPads, iPhones, and all current Android/mobile devices. Flash does not.

To use this simply copy the code below and paste it into your template bbcode_video, deleting what used to be there.

If you have any trouble simply "revert" the template back to the original.

Repeat the above for each style you have.

New bbcode_video template (Tested on 4.2.0):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The above has all known/available HTML5 players, but Flash players where HTML5 is not yet available.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated.
Nominate MOTM if you LOVE it!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 06 Aug 2015, 04:20
e24h's Avatar
e24h e24h is offline
 
Join Date: Apr 2010
Thanks BOP!!
Reply With Quote
  #32  
Old 06 Aug 2015, 11:14
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by akz645 View Post
Thanks

Do you know how to add facebook videos?
Example: https://www.facebook.com/WilliamSing...3926357545620/

I have FB platform enabled.

http://www.vbulletin.org/forum/showthread.php?t=318877
^ I used that to create a BB code & edited the same template (just the FB code part).

However, I don't want it as a BB code. I want it to work straight from the video bb code & I don't want to just paste the ID of the video, but instead the entire link.

Any idea how?
There were some problems with the Facebook video in the latest versions of 4.x. I have instructions for fixing the bug in the bug report here- http://tracker.vbulletin.com/browse/VBIV-15670

You need to be logged into the vBulletin Community Forum first as a licensed user before you can view that link.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #33  
Old 06 Aug 2015, 17:03
akz645 akz645 is offline
 
Join Date: Jul 2015
Originally Posted by BirdOPrey5 View Post
There were some problems with the Facebook video in the latest versions of 4.x. I have instructions for fixing the bug in the bug report here- http://tracker.vbulletin.com/browse/VBIV-15670

You need to be logged into the vBulletin Community Forum first as a licensed user before you can view that link.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Your example video works.

I did the XML edit to and went too Debug mode and rebuilt BB Video.

But this still doesn't work:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If I manually change to this:
[video=facebook;10153926357545620]https://www.facebook.com/WilliamSinge/videos/10153926357545620/[/video]
Then it works.
Note: My video URL setup is different from Lynne.

The difference between your working URL example & my video is this:
- video.php?v=
- videos/
&
- video/
- WilliamSinge/

So the coding should account for both cases of it to work (I think).

Last edited by akz645; 06 Aug 2015 at 17:17.
Reply With Quote
  #34  
Old 06 Aug 2015, 17:10
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I see, seems the real name in the URL is causing the issue- that's going to require separate custom code to deal with- that is beyond the scope of this template edit.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #35  
Old 06 Aug 2015, 17:18
akz645 akz645 is offline
 
Join Date: Jul 2015
Originally Posted by BirdOPrey5 View Post
I see, seems the real name in the URL is causing the issue- that's going to require separate custom code to deal with- that is beyond the scope of this template edit.
Yeah, but also this:
Originally Posted by akz645 View Post
The difference between your working URL example & my video is this:
- video.php?v=
- videos/
&
- video/
- WilliamSinge/

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #36  
Old 24 Jul 2017, 07:38
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Do we must change http to https ? where is needed ?
Example: http://www.hulu.com is now https://www.hulu.com


My forum is https


Thanks
Reply With Quote
  #37  
Old 24 Jul 2017, 12:12
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Yes you can do that.

Though I'm not sure Hulu embedding works anymore. It would be fine for YouTube and sites still working.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #38  
Old 24 Jul 2017, 17:23
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Ok, changed... Actually Dailymotion videos did not show up in pages (white space only).
So any one else use this must change too. Do not forget must not change all to https, only if they have change to.

This is all reαdy code.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:57.

Layout Options | Width: Wide Color: