: How to get rid of Adobe Flash on a website


krs
Sep 21st, 2018, 09:56 PM
I got involved with an organization that run a few older websites which have incorporated Adobe Flash for audio and video streaming.
The right thing to do at the time, but technology marches on and now users are complaining that they no longer want to use flash or in some cases, like with iOS, can't even use flash.

The rganization is a not-for-profit one, use of the website and the audio and video streaming is free.

So I'm looking for suggestions what can be done at minimum cost to make the audio and video streaming independent of flash but compatible with the typical ways people access streaming using PCs, Macs, Android and iOS phones.

One option would be to recode the site using HTML5 (it's using HTML4 now) which has players included, but that sounds rather labour intensive and thus costly.
I haven't come across an automated method, ie software program, that would do that.
Is there some way to just replace the "flash related" code in HTML4 on that site with different HTML4 code that allows streaming without flash on the computer, something that also works on the iPhone?
Are there other options for iPhone users specifically to play these streaming files?
Pretty much all files are audio, so a solution for audio alone would be a huge step forward.

CubaMark
Sep 22nd, 2018, 08:45 AM
I doubt you'll find any "automatic" method for substituting Flash media with an HTML5 player. I recoded many of our websites (originally made in iweb with it's rather "busy" HTML export) into new HTML5 sites from the ground-up (no import and adjust: total rebuild) using Tumult's amazing Hype3 (http://tumult.com/hype).

pm-r
Sep 22nd, 2018, 01:55 PM
So I'm looking for suggestions what can be done at minimum cost to make the audio and video streaming independent of flash

I don't do webpages so I don't really know but a google search sure shows some hits with various suggestions using this search:
what are alternates to using flash on website
https://www.google.com/search?client=safari&rls=en&q=what+are+alternates+to+using+flash+on+website&ie=UTF-8&oe=UTF-8

Some suggestions seemed to be free solutions which would be nice I would think. ;-)




- Patrick
======

krs
Sep 22nd, 2018, 03:00 PM
Thanks for the comment.
I always do a google search before posting here, but of course the results one gets vary with the exact wording for the google search so sometimes things one looks for exist but google doesn't bring them up in search results - or only on page XX - I typically look at only the first two oe three pages.

I looked at most google hits that came up with your link but saw nothing new.
A lot of hits talked about replacement for flash animation which we don't need - flash on our sites is just used for audio and some video.
The concensus is to go to HTML5 and to do the website over again.
I haven't found any software that would convert HTML4 to HTML5 even without converting the flash audio and video automatically.

pm-r
Sep 22nd, 2018, 03:34 PM
I looked at most google hits that came up with your link but saw nothing new.

Maybe try refining your search phrases more precisely.

Or try some completely different phrases but using the keywords you want or need.



- Patrick
======

krs
Sep 23rd, 2018, 12:48 PM
After consulting with a few more people, one suggested I can just use this to replace flash to stream an audio file

<audio controls>
<source src="http://www.(xxx).mp3" type="audio/mpeg">
</audio>

where "http://www.(xxx).mp3" is the link to the audio file.

Tried it and as long as the browser is HTML5, and all major ones do, this seems to give me what I need - a simple streaming control, play/pause and volume.
That code is really HTML5, I tried it and so far it seems to work - hope I don't find a "gotcha"

pm-r
Sep 23rd, 2018, 01:27 PM
That code is really HTML5, I tried it and so far it seems to work - hope I don't find a "gotcha"


Congratulations on your find and the solution that seems to be working for you.



- Patrick
======

lebeau99
Oct 6th, 2018, 02:27 PM
Good day.
What I was actually looking for when I came across this thread was help on how to overcome the complete silence of my MBP. The supposed need for Flash is a peeve of mine so I checked it and when I saw the audio advice I wondered if it might be relevant.

But really what Id like now is some clarification on posting conventions.

<audio controls>
<source src="http://www.(xxx).mp3" type="audio/mpeg">
</audio>

It looks like < > are what you use to set apart the text within them from the body of the message.
<source src = > means what follows is where you go to get info, the link?
Whats in ...* is the site you go to.
<(xxx)> The xs are replaced by what before you click on the link?
I think thats about it. Thanks
David

krs
Oct 7th, 2018, 05:12 PM
Dave,

What you show in quotes in your post are just three lines of standard HTML5 code.

< > identifies a standard HTML tag, same idea in HTML5 as in HTML4
You obviously have to have the actual audio file on the web somewhere, the link to that file is the http://www.(xxx).mp3 with "xxx" being the name of the actual mp3 file

So the <audio controls> which is an HTML5 tag only (doesn't exist in HTML4) will create the simple graphics of play/pause and volume up/down, the source part will link to the audio to be played, and the
</audio> is just the audio end tag.

Works fine on its own with any browser that can handle HTML5 and all the major ones do.

However, to use that with an existing webpage that was coded with HTML4 originally using Flash will require more changes on that webspage.