News:

Wondering if this will always be free?  See why free is better.

Main Menu

Need help, custom bbcodes for an inhouse player

Started by shadav, July 19, 2020, 02:17:50 PM

Previous topic - Next topic

shadav

so I'm trying to convert a phpbb to smf but need custom bbcodes

for the life of me I can't get it to work

I have tried both custom bbcode mod and personalized bbcode mod
the problem is the usage of the tag......

I tried to hard code it but that didn't work either

so in phpbb this is what I have, it's for an inhouse player

bbcode usage
[episode]http://www.foamyfanatics.net/player.php?title={TEXT}&location={TEXT1}&file={TEXT2}[/episode]

html replacement
<center><video width="80%" height="80%" controls>
<source src="http://foamyfanatics.net/{TEXT1}/{TEXT2}.mp4" type="video/mp4">
Your browser does not support the video tag. This is an HTML5 Video, Please Use One Of The Below Browsers<br />
<ul><li>IE</li><li>Chrome</li><li>FireFox</li><li>Safari</li><li>Opera</li></ul>
</video>
<br /><br />
<font size="0">Copyright <a href="http://www.illwillpress.com" target="_blank">Jonathan Ian Mathers</a> 2002-2020. <a href="https://www.patreon.com/jimathers" title="Support J.I.M." target="_blank"><img src="http://foamyfanatics.net/images/patreon.png" alt="Support J.I.M." border="0" /></a><a href="https://www.paypal.me/illwillpress" target="_blank" title="Support J.I.M."><img src="http://foamyfanatics.net/images/paypal.png" alt="Support J.I.M." border="0" /></a>
<br /><br />
You are viewing this episode courtesy of <a href="http://www.foamyfanatics.net/" title="For All Your Foamy The Squirrel Needs">Foamy Fanatics</a> !</font><br /><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 468x60 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:468px;height:60px"
     data-ad-client="ca-pub-2929781549599830"
     data-ad-slot="7055419203"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></center>


how can I make this work with smf?


shadav

that doesn't work with the player's format.... the embed is looking for a direct file....
the player inputs title location and file then outputs the information as the video with the title above
in another version it outputted the description below the video

but thank you...
I did end up using that instead and just changing all the links to a direct link
:laugh: pita changing 600+ posts...but eh, the site's back up and running

vicram10

ouch, hurts (+600 posts), but just like you say, is ok right now and running.  ;D
i mark your topic to solve

Advertisement: