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
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,
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 ?
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?
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);
}
I made the edit, overwrote the old file and then cleared my CDN cache..still no dice with the green arrow. hmn..
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.
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.