vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - BB Code MP3 Player (postion bar, volume control, play, pause, id3...), New: Popup (https://vborg.vbsupport.ru/showthread.php?t=235934)

tbworld 11-07-2013 05:36 AM

2010 that is an old player for today's standards. You could replace this with any good flash player on the web. I am a little concerned due to the age of the 'swf' that it could be used as an exploit -- not that it is exploitable. When I get a chance I will check out a few replacements and post it in the main section.

This is not to take anything away from the gracious author who shared and posted here. :)

DemOnstar 11-07-2013 06:12 AM

Quote:

Originally Posted by tbworld (Post 2458850)
This is not to take anything away from the gracious author who shared and posted here. :)

I don't see it as taking anything away from the author...Like most mods and add ons, things need to be updated now and then..It's a cool, little modification..When it works..

mohdk 12-01-2013 05:40 PM

it works just fine for me. I like it.
I'm just thinking wouldn't it be great if there is a way to detect if the browser supports HTML5 and use html5 to play the file using audio tags instead?

Code:

<audio controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
 Your browser does not support the audio element.
 </audio>

example from W3Schools http://www.w3schools.com/html/tryit....tml5_audio_all

this will make it work on platforms that doesn't support .swf

DemOnstar 12-02-2013 04:06 AM

Are you saying that if this code is inserted into the original then it will work?

Or is this a stand alone option?

Where does this code go?

Ooooo, such excitement...

mohdk 12-02-2013 05:57 PM

Quote:

Originally Posted by DemOnstar (Post 2465114)
Are you saying that if this code is inserted into the original then it will work?

Or is this a stand alone option?

Where does this code go?

Ooooo, such excitement...

The code in the previous post is just an example of how html5 can play audio files.
This should work:

Code:

<audio controls>
  <source src="{param}" type="audio/ogg">
  <source src="{param}" type="audio/mpeg">
  <source src="{param}" type="audio/wav">
 Your browser does not support the audio element.
 </audio>

It will playback mp3, ogg, and wav files only. If and only if, the browser supports playing back these type of files using html5.

you can give it a try and add a new BB Code just like what you did for this add-on and give it another name, for example "audio", would be good enough.

and then try it using [audio] tag.

I'm trying to figure out a way to use both based on whether the browser supports audio playback or not.

cihadehli 12-12-2013 05:08 PM

Is that okay with this vb4.2.2


All times are GMT. The time now is 08:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01394 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete