The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 1 Guest(s)
MyCode HTML5 video tags!

#1
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
I added some video tags because I was not happy with the quality loss of Youtube uploader. Supported formats are MP4, WebM and OGG.

The tags are quite simple and will generate a  video tag of 480x360 with a default preview. You just add the video url in the tag. Sadly I could not make an attachment url work with it because the link is a PHP request. I could also not add easily a preview with some extra coding, hence for now the generic ff6hacking.com preview. These last two things may be improved if these do not become dead tags.


[header]
[cellwidth=100]Format[/cellwidth]
[cellwidth=150]MyCode tag[/cellwidth]
[/header]
[row]
[cellcenter]MP4[/cellcenter]
[cellcenter][mp4] [/mp4][/cellcenter]
[/row]
[row]
[cellcenter]WebM[/cellcenter]
[cellcenter][webm] [/webm][/cellcenter]
[/row]
[row]
[cellcenter]OGG[/cellcenter]
[cellcenter][ogg] [/ogg][/cellcenter]
[/row]


The following example was made with a video hosted on our server but any link finishing by .mp4, .webm or .ogg should work, unless your video is corrupted.

[webm]https://www.ff6hacking.com/misc/wow.webm[/webm]

  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • SSJ Rick (02-23-2018)



Messages In This Thread
MyCode HTML5 video tags! - by madsiur - 02-22-2018, 01:03 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite