dopetalk
Technology => SMF Forum Code Modifications => Topic started by: Chip on June 18, 2017, 01:38:45 PM
-
http://custom.simplemachines.org/mods/index.php?mod=4131
This mod allows a MP3, WAV or OGG file that has been attached to a post to be played without manually downloading the attachment using the HTML5 audio tag.
As of version 1.5, a fallback audio player embed tag has been added in the hopes that it will allow the attachment to be played if HTML5 support isn't available.
it currently conflicts with "Post and PM Inline Attachments" and the author is looking at it. Might be handy for soundbites.
To install this:
remove Post and PM Inline Attachments OLD version
remove Personal Messages to Membergroups
remove Enhanced PM System
install Post and PM Inline Attachments NEWEST version
install Enhanced PM System
install Personal Messages to Membergroups
install Play Media Attachments NEWEST version
Fixed - this was performed:
remove Automatic Attachment Rotation
uninstall Post and PM Inline Attachments
delete all Post and PM Inline Attachments
install Post and PM Inline Attachments NEWEST version
then install it
Automatic Attachment Rotation reinstall failed though ...
-
functional now
-
bug fix for 8: Undefined index: PMAt_no_audio
at +665 ./Themes/default/Display.template.php
find:
, $txt['PMAt_no_audio'], '
change:
', 'PMAt_no_audio' , '
repeat this for the video code also
seems to work; FYI, the HTML <audio> and <video> tags are used like this:
<audio controls>
<source src="horse.ogg" type="audio/ogg">
Your browser does not support the audio tag.
</audio>
i am not sure what Modifications.english.php does yet ...