Advertisement:

Author Topic: Light WebPlayer  (Read 3340 times)

Offline Bugo

  • Customizer
  • SMF Hero
  • *
  • Posts: 1,418
  • Gender: Male
    • @dragomano on Twitter
    • Review of SMF mods + translation for these mods
Light WebPlayer
« on: August 13, 2012, 04:36:17 PM »
Link to Mod

Light player based on Yahoo! WebPlayer.
Yahoo! Web Player License and Terms of Service

How to use

Example:
  • MP3 Link: [url=http://example.com/song.mp3]Title[/url]
  • Youtube movie: [url=http://www.youtube.com/watch?v=spgEJhvygZg]Title[/url
  • Yahoo! movie: [url=http://movies.yahoo.com/movie/1810190842/info]Title[/url

Russian Support

This work is licensed under a CC BY-NC-ND

Offline Gryzor

  • Full Member
  • ***
  • Posts: 454
  • Gender: Male
  • CPCwiki.eu - The Amstrad CPC Encyclopaedia!
    • CPCWiki
Re: Light WebPlayer
« Reply #1 on: August 14, 2012, 06:28:00 AM »
Oh wow. This looks sweet, it could replace Aeva on my forum... any demos?

Ah, I just saw that it lacks one major benefit of Aeva... it can't parse plain links, tags must be used... could you make it auto-parse relevant links?

Offline crustybum

  • Jr. Member
  • **
  • Posts: 330
Re: Light WebPlayer
« Reply #2 on: August 15, 2012, 05:36:17 AM »
Where is the control panel for this????

Offline Bugo

  • Customizer
  • SMF Hero
  • *
  • Posts: 1,418
  • Gender: Male
    • @dragomano on Twitter
    • Review of SMF mods + translation for these mods
Re: Light WebPlayer
« Reply #3 on: August 15, 2012, 11:59:10 AM »
Modification settings.

Offline Gryzor

  • Full Member
  • ***
  • Posts: 454
  • Gender: Male
  • CPCwiki.eu - The Amstrad CPC Encyclopaedia!
    • CPCWiki
Re: Light WebPlayer
« Reply #4 on: August 15, 2012, 12:03:56 PM »
Hello Bugo, any chance of further developing it to auto-parse links?

Offline Bugo

  • Customizer
  • SMF Hero
  • *
  • Posts: 1,418
  • Gender: Male
    • @dragomano on Twitter
    • Review of SMF mods + translation for these mods
Re: Light WebPlayer
« Reply #5 on: August 15, 2012, 11:47:43 PM »
If you tell me how to do "auto-parse" then big chance :)

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,585
  • Gender: Male
  • I had a dream & it was Dream Portal! :)
    • Dream Portal
Re: Light WebPlayer
« Reply #6 on: August 16, 2012, 01:36:29 AM »
This is great Mod Bugo... perhaps Gryzor is referring to something like this:  http://stackoverflow.com/questions/6266643/parsing-youtube-links-automatically

In any case, I think this Mod is Perfect!  I don't see how you can make it any better, cept if the player was able to do full screen, or if it played directly within the post itself...

Congrats!

Offline Gryzor

  • Full Member
  • ***
  • Posts: 454
  • Gender: Male
  • CPCwiki.eu - The Amstrad CPC Encyclopaedia!
    • CPCWiki
Re: Light WebPlayer
« Reply #7 on: August 16, 2012, 02:20:14 AM »
Unfortunately, I'm not a mod dev and I wouldn't know the first thing about how to do autoparsing :) Maybe you could take a look at Maeva, which does autoparse links?

Or maybe you don't understand what I mean??

Offline goofy2feet

  • Jr. Member
  • **
  • Posts: 125
    • Free Talk forum
Re: Light WebPlayer
« Reply #8 on: August 17, 2012, 02:51:01 AM »
Works great and looks good - like the video window and the discrete player for audio.

I have had one problem though when the following text :

"The Beach" (extract)

resulted in a player being displayed next to the words The Beach.

When I removed the quotation marks, the problem disappeared. Anyway, not a major baddy, but thought I should let you know.

Thanks for the useful mod.
Free Talk forums featuring DzinerStudios premium themes.

Offline Tiensg

  • Semi-Newbie
  • *
  • Posts: 13
Re: Light WebPlayer
« Reply #9 on: August 17, 2012, 12:16:44 PM »
It will be nice if we can have a BBCode for this.  :)

Offline goofy2feet

  • Jr. Member
  • **
  • Posts: 125
    • Free Talk forum
Re: Light WebPlayer
« Reply #10 on: August 17, 2012, 02:19:14 PM »
Free Talk forums featuring DzinerStudios premium themes.

Offline tMicky

  • Jr. Member
  • **
  • Posts: 146
  • Gender: Female
Re: Light WebPlayer
« Reply #11 on: September 06, 2012, 08:23:26 AM »
Hello, thanks for the awesome mod. I have been searching for something light and simple to play mp3's.
This was the only one that worked, after installing and uninstalling some of the bigger named mods.
So thanks, once again.

I was wondering, if there is a way to autoplay the mp3?
Does this only work for board posts, how can I make it work on the News Section and on the Shout Box?
« Last Edit: September 06, 2012, 08:41:35 AM by tMicky »

Offline tMicky

  • Jr. Member
  • **
  • Posts: 146
  • Gender: Female
Re: Light WebPlayer
« Reply #12 on: September 06, 2012, 08:43:19 AM »
Works great and looks good - like the video window and the discrete player for audio.

I have had one problem though when the following text :

"The Beach" (extract)

resulted in a player being displayed next to the words The Beach.

When I removed the quotation marks, the problem disappeared. Anyway, not a major baddy, but thought I should let you know.

Thanks for the useful mod.
That's actually an attribute of the player. When Movie titles are in quotes or words that are also movie titles are in quotes, it automatically places a yahoo video link next to the word.

Offline Bugo

  • Customizer
  • SMF Hero
  • *
  • Posts: 1,418
  • Gender: Male
    • @dragomano on Twitter
    • Review of SMF mods + translation for these mods
Re: Light WebPlayer
« Reply #13 on: September 06, 2012, 09:16:59 AM »
Did you try add "autoplay: true" parameter in Subs-WebPlayer.php?
http://webplayer.yahoo.com/docs/how-to-set-up/

When Movie titles are in quotes or words that are also movie titles are in quotes, it automatically places a yahoo video link next to the word.
It's possible to disable too:
Code: [Select]
termDetection: "off"
Does this only work for board posts, how can I make it work on the News Section and on the Shout Box?
Subs-WebPlayer.php, find
Code: [Select]
if (!empty($_REQUEST['topic']) && $context['current_action'] != 'printpage' && !WIRELESS)and replace with
Code: [Select]
if (!in_array($context['current_action'], array('printpage', 'helpadmin')) && !WIRELESS)

Offline tMicky

  • Jr. Member
  • **
  • Posts: 146
  • Gender: Female
Re: Light WebPlayer
« Reply #14 on: September 06, 2012, 06:04:31 PM »
Did you try add "autoplay: true" parameter in Subs-WebPlayer.php?
http://webplayer.yahoo.com/docs/how-to-set-up/
...
Thank you, now works in the News section too. Doesn't work in the shoutbox, but I am already happy. I have been searching for while, for something like this. Thanks once again.

Offline tMicky

  • Jr. Member
  • **
  • Posts: 146
  • Gender: Female
Re: Light WebPlayer
« Reply #15 on: September 09, 2012, 08:30:25 PM »
Just coming back to say thank you, for such an awesome mod. I have been looking for something simple that will allow me to have video and music of the day, on my board index, without being in the way. Your mod, allows me to post a link in my News section, that is neat and to the point. It doesn't autorun, doesn't take up space, and allows the user to click play and view or listen when they want. This has really helped me. Thanks :)