dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Play Media Attachments  (Read 3703 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6648
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 05:53:23 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Play Media Attachments
« 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 ...
« Last Edit: September 10, 2017, 12:31:32 PM by chipper »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6648
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 05:53:23 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Play Media Attachments
« Reply #1 on: September 10, 2017, 12:07:57 PM »
functional now
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6648
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 05:53:23 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Play Media Attachments
« Reply #2 on: July 22, 2018, 12:33:22 AM »
bug fix for 8: Undefined index: PMAt_no_audio

at +665 ./Themes/default/Display.template.php

find:
Code: [Select]
, $txt['PMAt_no_audio'], '
change:
Code: [Select]
', 'PMAt_no_audio' , '
repeat this for the video code also

seems to work; FYI, the HTML <audio> and <video> tags are used like this:
Code: [Select]
<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 ...
« Last Edit: July 23, 2018, 02:04:59 AM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal