This is where you can remind us how much the software sucks and how dead the community is.


[Return]
Posting mode: Reply
Name
Email
Subject   (reply to 6767)
Message
BB Code
File
File URL
Embed   Help
Password  (for post and file deletion)
  • Supported file types are: ASS, BMP, CSS, FLAC, GIF, JPEG, JPG, MP3, OGG, PDF, PNG, PSD, RAR, SWF, TORRENT, TXT, ZIP
  • Maximum file size allowed is 10000 KB.
  • Images greater than 260x260 pixels will be thumbnailed.
  • Currently 1593 unique user posts.
  • board catalog

File 158907539725.png - (755.72KB , 1443x1218 , flash.png )
6767 No. 6767 [Edit]
I don't know how much tohno and friends know about programming, so I hope this isn't an unreasonable request, but flash is super dead. Nobody uses flash anymore, most browsers either don't support it or are phasing it out(mine doesn't at all), it doesn't work on phones either, and the final nail in the coffin, adobe is killing it off too by the end of 2020. A new video embed system would be nice.
Expand all images
>> No. 6768 [Edit]
We've had issues with the player since day one. No one who's tried has been able to fix it so far.
>> No. 6769 [Edit]
>>6768
Is replacing the entire thing a possibility?
>> No. 6770 [Edit]
It would be if we had anyone left who knew how to do such things.
>> No. 6801 [Edit]
File 162168009896.png - (34.47KB , 788x296 , tohno-chan swf player.png )
6801
>>6770
I am not sure I understand which player you and OP are referring to. The only Flash-based player included with Kusaba (that I'm aware of) is the one in the picture. But that shows up next to audio, not video uploads.

If you really are talking about this one, then it's simple to replace with an HTML5 Audio element. Every modern browser that doesn't support Flash does support HTML5.
>> No. 6802 [Edit]
>>6801
Anyway, if I'm mistaken, then it's probably still a good idea to remove the Flash-based audio player, for all the reasons mentioned by OP.
In that case, I'd also ask you to direct me to a thread containing the broken video player/embed you guys are talking about, I cannot promise anything but I will try my best to help.

Instructions to replace the audio player:
1. Go to admin panel
2. Click "Edit Templates"
3. Start editing the index template (img_board_page.tpl)
4. Find a section that looks like this:
{if $post.file_type eq 'mp3'} old player code (11 lines) {/if}

5. Replace that with:
{if $post.file_type eq 'mp3'} <audio controls preload="metadata"><source src="{$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3" type="audio/mpeg">{t}You are seeing this because your browser does not support the HTML5 Audio element.{/t}</audio> {/if}

6. Save and rebuild.
7. Repeat 3-6 for the thread template (img_thread.tpl) and upload-thread template (upl_thread.tpl)
>> No. 6805 [Edit]
>>6801
The flash video player was added by another guy years ago. You can find plenty of examples of it on /mp3/. It's only broken in so much as is doesn't work on chromium without the pepper flash player. Tohno himself is technically illiterate.

Post edited on 12th Jun 2021, 11:37am

View catalog

Delete post []
Password  
Report post
Reason  


[Home] [Manage]



[ Rules ] [ an / foe / ma / mp3 / vg / vn ] [ cr / fig / navi ] [ mai / ot / so / tat ] [ arc / ddl / irc / lol / ns / pic ] [ home ]