1 (edited by Visman 2021-10-15 13:42)

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, Dailymotion, Sibnet, Facebook, Coub, Vine, VK, IGN, Gamespot, OK.ru, _www.aparat.com, izlesene.com, vlipsy.com and direct urls for mp4, m4v, ogv, webm, webmv;
audio: SoundCloud, ZippyShare, PromoDJ, Mixcloud, Hulkshare and direct urls for mp3, m4a, ogg, oga, webma, wav, flac;
maps: Google Maps, Yandex Maps.

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

ForkBB
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.

ForkBB
I speak only Russian  :P

3

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.

ForkBB
I speak only Russian  :P

Re: [Extension] sva_Media.js

v 0.9.10

facebook.com support is added.

ForkBB
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?

ForkBB
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

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.

ForkBB
I speak only Russian  :P

10

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.

ForkBB
I speak only Russian  :P

11

Re: [Extension] sva_Media.js

Not working. punbb1.4.2

12

Re: [Extension] sva_Media.js

admin wrote:

Not working. punbb1.4.2

Link to your forum?

ForkBB
I speak only Russian  :P

13

Re: [Extension] sva_Media.js

Up to v 1.0.4

ForkBB
I speak only Russian  :P

14

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: ---

ForkBB
I speak only Russian  :P

15

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.

ForkBB
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

https://agora.chauvigne.info/
PunBB 1.4.6
PHP: 8.0.24
Base de données    SQLite3 3.27.2

17

Re: [Extension] sva_Media.js

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

ForkBB
I speak only Russian  :P

Re: [Extension] sva_Media.js

Many thanks ! You are the best !

https://agora.chauvigne.info/
PunBB 1.4.6
PHP: 8.0.24
Base de données    SQLite3 3.27.2

Re: [Extension] sva_Media.js

This is very helpful. Thanks.

20

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)

ForkBB
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.

23

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.

Re: [Extension] sva_Media.js

Hi !
Great extension ! Just a little question...
Is it possible to hide URL ?

https://image.noelshack.com/fichiers/2017/24/6/1497732233-screen.png