vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   BB Code Enhancements - Embed MP3 in post using flash player (https://vborg.vbsupport.ru/showthread.php?t=170794)

Driven By Shine 10-25-2009 12:53 PM

Awesome, thanks heaps. Got the colours sorted.

Now just to work out the original problem playing mp3's from a URL. and not having to host the file.

Thanks again for all your help.

Does yours work via a URL wrapped in tags mp3 tags[][/]

Chris

MagicThemeParks 10-25-2009 12:59 PM

I just place the URL (no matter where it is hosted) within the mp3 tags and it works. Not sure if you edited the code in some way.

On my custom pages like this one.... Walt Disney World - Magic Kingdom Attractions .... I had to hardcode the url into the code and using this code ...

Code:

<script language="JavaScript" src="http://www.fakedomain.com/myname/audio/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.fakedomain.com/myname/audio/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://www.fakedomain.com/myname/audio/player.swf">
<param name="FlashVars" value="playerID=audioplayer1&soundFile=http://www.fakedomain.com/myname/audio/music.mp3">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>


....from this page: http://www.macloo.com/examples/audio_player/index.html

Driven By Shine 10-25-2009 01:11 PM

I wonder what I have done wrong then, I think I'll have to sleep on it and try again when I'm fresh. I did just notice you have. Slightly different code then me. Audioplayer1 or something like that I don't have that in my code.

Thanks heaps for your help so far.

I'll let you know how I go tomorrow.

Chris

MagicThemeParks 10-25-2009 01:33 PM

Chris, what's the mp3 file URL that you're using and I'll test it on my site. Have a goodnight!

Driven By Shine 10-25-2009 08:38 PM

<a href="http://www.supload.com/listen?s=LCr6bv" target="_blank">http://www.supload.com/listen?s=LCr6bv</a>

good idea I didn't even think that the link might be wrong. Here it is above. I didn't include the mp3 wraps although I do have them on my site.

Do you have a working URL I can also test.

Many thanks once again

chris

MagicThemeParks 10-25-2009 10:54 PM

Chris, that's not an mp3 file. Did you download it and change it to an mp3 file and then upload it on your own site?

Driven By Shine 10-26-2009 12:32 AM

Here is what I did.

We made the video you find on my thread from You tube, I then used a you tube to mp3 convertor to create the mp3 file. Then i googled audio hosting and found "supload.com" so i uploaded the mp3 file to their site. The URL that comes up when its playing through supload is http://www.supload.com/listen?s=LCr6bv, so its not a mp3 file but wouldnt it be the mp3 URL

The links that work are the same mp3 files uploaded to my hosting server, I have done nothing extra to them.

Maybe I just have this totally wrong.

As embarrassing :o:o as it is to ask, what does a mp3 URL look like and where can I find one :erm:??

Again thanks for your efforts in helping me sort this out.:up:

Chris

MagicThemeParks 10-26-2009 01:03 AM

Chris, as far as I'm aware, it has to be a URL that ends in ".mp3"

So, it would be "http://www.exampledomainname.com/audio/examplemusic.mp3" and that should work. So, instead of uploading it somewhere to save on bandwidth, you're going to have to upload it to your own server (or another service that will still allow the .mp3 in the URL) and use it that way.

I'm not 100% sure, but someone else may be able to jump in and answer that one for you. :)

Driven By Shine 10-26-2009 01:29 AM

I finally got it sorted, seems it was working all along, stupid me just wasnt using the correct URL's

I tried many different audio hosting sites, but the one i got it to work with was www.hotlinkfiles.com

Thank you to everyone, your help is............... well very helpful.

Thanks again

Chris

Driven By Shine 10-26-2009 01:36 AM

Quote:

Originally Posted by MagicThemeParks (Post 1906192)
Chris, as far as I'm aware, it has to be a URL that ends in ".mp3"

So, it would be "http://www.exampledomainname.com/audio/examplemusic.mp3" and that should work. So, instead of uploading it somewhere to save on bandwidth, you're going to have to upload it to your own server (or another service that will still allow the .mp3 in the URL) and use it that way.

I'm not 100% sure, but someone else may be able to jump in and answer that one for you. :)

You are correct as far as i can see, i did try to manually insert the .mp3 but still no good but this hotlinkfiles.com works a charm, so its all good.

Thanks again for you patience with me.

Chris


All times are GMT. The time now is 10:19 PM.

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.01786 seconds
  • Memory Usage 1,752KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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