1 (edited by Visman 2013-11-27 14:25)

Topic: [Extension] sva_Media.js

This my expansion from FluxBB.
Adds javascript which will transform links in the browser of the user to media a content.

It is supported
video: YouTube, Vimeo, Rutube, Yandex, Mail.ru, Smotri, Dailymotion, Metacafe, Sibnet, ign.com, twitch.tv, g4tv.com, gamespot.com; video files mp4, m4v, ogv, webm, webmv through of tag <video> HTML5;
audio: SoundCloud, ZippyShare, PromoDJ, Pleer.com; audio files mp3, m4a, ogg, oga, webma, wav through of tag <audio> HTML5 (mp3 through Flash, priority is higher);
and Google Maps;

v 0.9.5  https://github.com/MioVisman/punbb_exte … va_mediajs

Parserus - BBCode parser
I speak only Russian  :P

2 (edited by Visman 2014-10-04 02:19)

Re: [Extension] sva_Media.js

http://jpegshare.net/thumbs/b4/43/b443e751d9c14d0ec33247201d9edd1e.jpg

Expansion work on FluxBB here -

Parserus - BBCode parser
I speak only Russian  :P

Re: [Extension] sva_Media.js

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

Parserus - BBCode parser
I speak only Russian  :P

4

Re: [Extension] sva_Media.js

benefit extension thanks for you...

Re: [Extension] sva_Media.js

v 0.9.9
  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.

Parserus - BBCode parser
I speak only Russian  :P

Re: [Extension] sva_Media.js

v 0.9.10

facebook.com support is added.

Parserus - BBCode parser
I speak only Russian  :P

Re: [Extension] sva_Media.js

porn site is support too?
http://tromoticons.files.wordpress.com/2012/11/yao-ming-pff.png

sorry my BAD english T___T
Have a nice day >.<
(^____^)v

Re: [Extension] sva_Media.js

kudataz wrote:

porn site is support too?

Which?

Parserus - BBCode parser
I speak only Russian  :P

Re: [Extension] sva_Media.js

Visman wrote:
kudataz wrote:

porn site is support too?

Which?

excume me sir..
i want add more frame.. like :
- jsbin
- jsfiddle
- orther frame player site..
how to add manually editing script ?

sorry my BAD english T___T
Have a nice day >.<
(^____^)v

10

Re: [Extension] sva_Media.js

Is jsbin and jsfiddle media services?

how to add manually editing script ?

No manual. Edit the script does not provide its own.

Parserus - BBCode parser
I speak only Russian  :P

11

Re: [Extension] sva_Media.js

v 1.0.0

For YouTube adds support the starting point of video playback.
Priority HTML5 audio above Flash audio player.

Parserus - BBCode parser
I speak only Russian  :P

12

Re: [Extension] sva_Media.js

Not working. punbb1.4.2

13

Re: [Extension] sva_Media.js

admin wrote:

Not working. punbb1.4.2

Link to your forum?

Parserus - BBCode parser
I speak only Russian  :P

14

Re: [Extension] sva_Media.js

Up to v 1.0.4

Parserus - BBCode parser
I speak only Russian  :P

15

Re: [Extension] sva_Media.js

v 1.1.0

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

Test topic: ---

Parserus - BBCode parser
I speak only Russian  :P

16

Re: [Extension] sva_Media.js

v 1.2.0
Changes:
1. Yandex Video
    Support is removed, this service is closed.
2. Mail.ru
    Added support for links of this type my.mail.ru/*/*/video/*/*.html
3. OK.ru
    Added support service (video).
4. Rutube
    Iframe is not displayed if you do not have Flash Player.
5. Sibnet
    Iframe is not displayed if you do not have Flash Player.
6. Yandex Карты
    Added support service.
    Support for this type of reference only yandex.ru/maps/-/CVgQyK3F.
    Displays only the territory of the USSR smile
7. Google Maps
    Links from the code to insert fully supported.
    Links of the old format (maps.google.ru/?ll=55.019363,82.97905&s … 7&t=m&z=17) are fully supported.
    Links url of the page with the map (google.com/maps/place/%D0%95%D0%BD%D … 92.1867687) are partially supported.
    For the Chinese mirror with maps request goes to him as - http://maps.google.cn/...
    For all other mirrors a request is sent to https://maps.google.com/...
8. Incompatibility with a spoiler is corrected, the map/video in a spoiler was displayed the zero size.

Parserus - BBCode parser
I speak only Russian  :P

Re: [Extension] sva_Media.js

Hello ! Thanks for your extension that works like a charm.
How can I center the video ? I managed it via the css file for all my inserted images. But for the video ???
Thanks in advance for your help.

http://revest.legtux.org/viewtopic.php?pid=137#p137

18

Re: [Extension] sva_Media.js

http://jpegshare.net/thumbs/5e/2e/5e2ef23498e257c1d78e5ed0ca6cd0f6.jpg
test

Parserus - BBCode parser
I speak only Russian  :P

Re: [Extension] sva_Media.js

Many thanks ! You are the best !

Re: [Extension] sva_Media.js

This is very helpful. Thanks.

21

Re: [Extension] sva_Media.js

v 1.3.0

+ LiveLeak.com
+ Links in the citations are not converted.

- IE v8, 7, 6 smile

* Pleer.com/net (new player domain)
* Twitch (flash->iframe + autoplay off)

Parserus - BBCode parser
I speak only Russian  :P

Re: [Extension] sva_Media.js

I just updated from 1.1.0 to 1.3.0, with punbb 1.4.4 and php 7.1, it works fine, thanks smile

Re: [Extension] sva_Media.js

Hey @Visman
Is it also possible to add image support?
I'm trying to make image urls to be auto embedded. Thanks.

24

Re: [Extension] sva_Media.js

And now, what happens when you insert into a message [img]image_url[/img]

Re: [Extension] sva_Media.js

sempai wrote:

And now, what happens when you insert into a message [img]image_url[/img]

It is much easier when you just paste image url. It is not 2005. People don't like to mess with BBcodes.