project Websites / videos.bentasker.co.uk avatar

websites/videos.bentasker.co.uk#2: Remove M3U Support



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.18
Created: 09-Mar-22 19:11



Description

The embed script includes support for decoding M3U playlists and playing back the media contained within.

It was developed in VID-5 but has never been used on videos.bentasker.co.uk (the function was built for mv.bentasker.co.uk which I no longer need it for), so realistically it's just bloat.

We should remove it.



Toggle State Changes

Activity


assigned to @btasker

changed the description

The provisional changes are made - we've shaved 4K off the (non minified) embed script

verified

mentioned in commit 5f127baa6e3561a1390c1e38a2690829ec2c1135

Commit: 5f127baa6e3561a1390c1e38a2690829ec2c1135 
Author: B Tasker                            
                            
Date: 2022-03-09T19:17:31.000+00:00 

Message

Remove M3U support for websites/videos.bentasker.co.uk#2

It's never been used in anger, so simply constitued bloat

+7 -11462 (11469 lines changed)

It's taken about 4K off the minified version too actually

ben@optimus:~/Documents/src.old/videos.bentasker.co.uk/resources/embed$ ls -sh versions/
total 168K
16K embed.0.13.min.js  20K embed.0.15.min.js    20K embed.0.16.2.min.js  20K embed.0.17.1.min.js  16K embed.0.18.min.js
16K embed.0.14.min.js  20K embed.0.16.1.min.js  20K embed.0.16.min.js    20K embed.0.17.min.js