Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#26 2013-08-23 12:57:23

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v 0.5.12 UPDATE FOR 0.5.7
Adds support ign.com (_http://www.ign.com/videos/[year]/[month]/[day]/[name of video])
Adds support twitch.tv
Adds support g4tv.com
Adds support gamespot.com (_http://www.gamespot.com/[name of game]/videos/[name of video]-[number of video]/)

Test forum -

Last edited by Visman (2014-10-04 02:17:12)

Offline

#27 2013-08-25 11:05:13

xMajerex
Member
Registered: 2013-08-18
Posts: 6

Re: [MOD] Media.js 2.3.0

thanks for the update but it doesnt seem to be working, i've tested ign and twitch without success :9

Offline

#28 2013-08-25 11:22:14

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

xMajerex wrote:

thanks for the update but it doesnt seem to be working, i've tested ign and twitch without success :9

work
fe61fd7d220e103609f793afe84cf84b.jpg

Offline

#29 2013-08-26 08:36:39

xMajerex
Member
Registered: 2013-08-18
Posts: 6

Re: [MOD] Media.js 2.3.0

strange - it started working all of the sudden, thanks

EDIT:
ahh - i see the issue - uk.ign.com doesn't work but www . ign . com does.

Last edited by xMajerex (2013-08-26 08:39:41)

Offline

#30 2013-08-26 09:25:13

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

xMajerex wrote:

EDIT:
ahh - i see the issue - uk.ign.com doesn't work but www . ign . com does.

work
8ba78bd41f462d529ff6934b56652a35.jpg

Offline

#31 2013-08-31 10:52:18

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v 0.6.0 UPDATE FOR 0.5.7
For IE the method of creation of the <object> elements is changed.
For all browsers (and IE 9+) is used DOMContentLoaded event for script start.
The processed links receive the class mediajslink. It is possible to change display of such links through CSS.

Offline

#32 2013-09-28 03:48:12

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v 0.7.13 UPDATE FOR 0.5.7
Checks existence of installed Adobe Flash Player for content display through <object>.
Adds support of audio files mp3, m4a, ogg, oga, webma, wav through of tag <audio> HTML5 -
Adds support of video files mp4, m4v, ogv, webm, webmv through of tag <video> HTML5 -

Last edited by Visman (2014-10-04 02:16:54)

Offline

#33 2013-11-15 12:52:04

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v 0.8.3 UPDATE FOR 0.5.7

Compatibility with HTTPS is improved.
Compatibility with my mod "Highlight of search requests" is improved.

Offline

#34 2013-11-27 14:08:32

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v 0.9.5 UPDATE FOR 0.5.7

Adds video of vk.com, audio of mixcloud.com and hulkshare.com.

Last edited by Visman (2013-11-27 14:08:41)

Offline

#35 2014-05-16 21:58:12

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 843
Website

Re: [MOD] Media.js 2.3.0

Hi Visman,

This is really a nice mod. Could you add Vine.co support? It's hard for me to edit your JS code.

http://stackoverflow.com/questions/2029 … a-vine-url

$url = 'https://vine.co/v/hnVVW2uQ1Z';

if (preg_match("#^https?://vine.co/v/[a-z0-9]{10}$#i", $url)) {
    // valid
} else {
    // invalid
}

FeatherBB - A simple and lightweight new generation forum system
Based on FluxBB, written in PHP, using Slim Framework for a proper OOP-MVC architecture.

Offline

#36 2014-05-17 10:45:22

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

@adaur, I can't investigate this service.
In FF only the empty page, without contents opens. Simply white background.
In Chrome I can't receive the Embed code. Similarly, at its opening the empty page.
IE8 isn't supported by service.

Offline

#37 2014-05-17 11:03:27

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

I took a code from the instruction on other site. It seems works.

Offline

#38 2014-05-18 04:52:08

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v 0.9.9 UPDATE FOR 0.5.7
For mail.ru the new player is used (through iframe), supports a new format of links to video.
For Dailymotion supports short links through dai.ly.
coub.com and vine.co support is added.

Offline

#39 2014-05-18 19:35:28

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 843
Website

Re: [MOD] Media.js 2.3.0

Perfect, thank you!


FeatherBB - A simple and lightweight new generation forum system
Based on FluxBB, written in PHP, using Slim Framework for a proper OOP-MVC architecture.

Offline

#40 2014-07-16 16:27:33

joel
Member
Registered: 2014-07-04
Posts: 440

Re: [MOD] Media.js 2.3.0

what to find and edit in footer.php and parser.php?


Warning! be informed and be forewarned. <p>
<?php
I'm not a native English Man. So my comments might contain some grammatical explosive (ELD), missapropreation of words (dinamyt), The use of wrong words (missiles), & mis spelling of words (war drones). Any of the occurrence can cause havoc. So be warned
?>

Offline

#41 2014-08-03 10:27:02

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v 0.9.10 UPDATE FOR 0.5.7
facebook.com support is added.

Offline

#43 2015-01-28 10:47:25

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

Works in FluxBB 1.5.8.

Offline

#44 2015-02-10 21:12:30

seven
Member
From: Torino, Italy
Registered: 2010-08-19
Posts: 314
Website

Re: [MOD] Media.js 2.3.0

Hello Visman,

Using the Victory style (http://fluxbb.org/resources/styles/vict … xbb-style/)
your media.js stops working because Victory does not have div id=brdmain and does not have div id=brd-main.

To make it work I did this.

Before:

    run: function () {
      var k;
      if (k = l.getElementById('brdmain')) k = w('postmsg', k);
       else if (k = l.getElementById('brd-main')) k = w('entry-content', k),
      y = PUNBB.env.sva_mediajs.url_swf + '/';
       else return;

After:

    run: function () {
      var k;
      if (k = l.getElementById('brdmain')) k = w('postmsg', k);
      else if (k = l.getElementById('punviewtopic')) k = w('postmsg', k);
       else if (k = l.getElementById('brd-main')) k = w('entry-content', k),
      y = PUNBB.env.sva_mediajs.url_swf + '/';
       else return;

PS: is the comma ending the last "else if" right? I had a really hard time reading the minified code ._.


gamezoo.org - serious gaming services for serious gamers.

Offline

#45 2015-02-11 03:27:02

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

Use 'punviewtopic' wrong.
I will analyze this style and make corrections in the next version.

Offline

#46 2015-02-13 03:15:52

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v 1.0.0 FULL VERSION
Fix for Victory style.
For YouTube adds support the starting point of video playback.
Priority HTML5 audio above Flash audio player.

Offline

#47 2015-02-13 13:31:09

seven
Member
From: Torino, Italy
Registered: 2010-08-19
Posts: 314
Website

Re: [MOD] Media.js 2.3.0

Thanks, Visman. It works with Victory now. And it's beautiful to have the HTML5 player instead smile


gamezoo.org - serious gaming services for serious gamers.

Offline

#48 2015-02-23 03:43:22

indexory
Member
Registered: 2015-01-18
Posts: 51

Re: [MOD] Media.js 2.3.0

Hi, how do you get google map to work using media. js mod. I tried short URL, long URL, nothing works. When I do Youtube URL it works nicely. Thanks.

Offline

#49 2015-02-23 05:02:05

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

There is support for the old format maps

[url]https://maps.google.ru/?ll=55.019363,82.97905&spn=0.005013,0.013937&t=m&z=17[/url]

The new format has not been tested.

Offline

#50 2015-12-19 09:25:45

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] Media.js 2.3.0

v1.1.0

For youtube:
1. Supports playlists (options: list, index, loop);
2. Support for separate video settings: start(t), end, list, rel, loop.

For facebook:
1. Supports urls _https://www.facebook.com/USER/videos/ID_VIDEO/


Test forum _http://fluxbb.hol.es/viewforum.php?id=8

Last edited by Visman (2015-12-19 09:26:05)

Offline

Board footer

Powered by FluxBB