Page 1 of 1
Html code sound byte and image
Posted: Sun Jun 16, 2019 1:22 pm
by James196811
Can anyone give me the html code for selecting a image and hear a sound being played with a option for downloading as well in html5 please many thanks from a newbie
Re: Html code sound byte and image
Posted: Sun Jun 16, 2019 8:09 pm
by [-hh]
[Relating to media files always have the SOP in mind, see
https://en.wikipedia.org/wiki/Same-origin_policy ]
If your post relates to LiveCode HTML5 standalones then here are some points to start.
Play sounds, for example
http://lessons.livecode.com/m/4071/l/74 ... s-in-html5
Load files from a server:
viewtopic.php?p=154958#p154958
For exporting images to the web page (then download image by rightClick), for example:
viewtopic.php?p=148867#p148867
For creating a download link for *your* sounds or *your* images in the web page use one of the possibilities of javaScript from LC.
It is just the same as for text, here is an example for the latter:
viewtopic.php?p=160069#p160069