Thread Rating:
  • 26 Vote(s) - 4.12 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] AutoMedia 4.1.1
Config:
Ubuntu 16.04
PHP7 (curl, socket enabled)
MyBB 1.8.8
automedia3_1_1 / 2017-01-20

[amplist]
[source]"http://milisoft.go.ro/hdd1/Filme/test.mp4" title="test"[/source]
[source]"https://www.youtube.com/watch?v=BKorP55Aqvg&t=65s" title=""[/source]
[/amplist]

youtube play ok, but local .mp4 play without image, only sound...
what I miss ?

and also, there are Full-Screen option in video-player?

thank you
Reply
You have used the playlist button. The button is for creating an audio playlist from mp3 files only.
For all other links you just have to insert them into the post without using any buttons or codes.

Just change your code
[amplist]
[source]"http://milisoft.go.ro/hdd1/Filme/test.mp4" title="test"[/source]
[source]"https://www.youtube.com/watch?v=BKorP55Aqvg&t=65s" title=""[/source]
[/amplist]

to:
http://milisoft.go.ro/hdd1/Filme/test.mp4

https://www.youtube.com/watch?v=BKorP55Aqvg&t=65s
 
Full screen mode for YouTube etc. is always available if the uploader hasn't disabled the option for the video.

For the MP4 player you can add full screen mode in template "automedia_head"

find:

$("video").mediaelementplayer({
   loop: false,

and add below:

fullscreen: true,
Reply
thank you very much... indeed, it's ok now...

but was weird...
"The button is for creating an audio playlist from mp3 files only"
and youtube video played ok in playlist...
maybe it's an ideea to extend playlist also to videos...

best regards

one more...
if on server exist 2 files
http://milisoft.go.ro/hdd1/Filme/DL.mp4
http://milisoft.go.ro/hdd1/Filme/DL.srt
how could AutoMedia play video with subtitle ?
Reply
hi there,

I just installed your latest update, 3.1.1...a bug that I saw from 3.1.0 was that the green arrow when quoting someone is no longer available.

if I check my source, it looks like it's insert the oembed class:

<div><blockquote class="mycode_quote"><cite><span> (Yesterday, 12:42 PM)</span>user Wrote:  <a rel="nofollow" class='oembed' href="https://mysite.com/test-thread?pid=1#pid1" class="quick_jump"></a></cite>Dark theme users rule!!! That would be the two of us ......</blockquote><br />
Cough</div>

any ideas?
Reply
Oh, I see...

Could you please find in inc/plugins/automedia/automedia_functions.php (~line 318):

// Add embed css class to links for embed.ly embedding
$message = str_replace("<a href=", '<a class=\'oembed\' href=', $message);

and replace it with:
// Add embed css class to links for embed.ly embedding
if ($mybb->version_code < 1808)
{
	$message = str_replace('<a href=', '<a class=\'oembed\' href=', $message);
	$message = preg_replace('#<a class=\'oembed\' href="(.*?)" class="quick_jump"#i', '<a href="$1" class="quick_jump"', $message);
}
else
{
	$message = str_replace('class="mycode_url"', 'class=\'oembed\'', $message);
}
Reply
I made the edit, overwrote the old file and then cleared my CDN cache..still no dice with the green arrow. hmn..
Reply
Assuming you're not using a very outdated MyBB version, if there is still the oembed class inserted in the quick jump link, it could be a caching issue. With the changes above it's only added to links with the mycode_url class now.

I've applied this fix to several forums so far and everywhere the arrow is displayed correctly.
Reply
Version 3.1.2 (build #7)
  • Fullscreen mode for Mediaelement player added
  • Bugfix for: quick jump arrow in quotes isn't displayed with AutoMedia enabled

Upgrading:
  • Upload the complete content of the Upload folder into your forum home directory and overwrite the existing files.
  • In ACP -> Configuration -> Plugins deactivate AutoMedia and activate it again.
  • In ACP -> Templates & Style -> Templates -> run Find Updated Templates. If there are any automedia templates listed, revert them (and possibly reinsert your own code.)

Download:
https://community.mybb.com/mods.php?acti...6&bid=2357
Reply
Version 3.1.3 (build #8)
  • Embedding of several video and audio attachments in posts added
    (Attachments have to be inserted into the post for embedding e.g. [attachment=123]
  • Setting für displaying download links of embedded attachments added

Upgrading:
  • Upload the complete content of the Upload folder into your forum home directory and overwrite the existing files.
  • In ACP -> Configuration -> Plugins deactivate AutoMedia and activate it again.
  • In ACP -> Templates & Style -> Templates -> run Find Updated Templates. If there are any automedia templates listed, revert them (and possibly reinsert your own code.)

Download:
https://community.mybb.com/mods.php?acti...6&bid=2383
Reply
I installed the plugin but when I post a link, a youtube link etc., the thread that I posted the link can't be opened and it says page is not working and is currently unable to handle this request, and gives me HTTP Error 500. Is there a way I can fix this? Thank you!

edit: it works well right now and I don't know what caused the error.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)