Html code sound byte and image

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
James196811
Posts: 1
Joined: Sun Jun 16, 2019 1:19 pm

Html code sound byte and image

Post by James196811 » Sun Jun 16, 2019 1:22 pm

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

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Html code sound byte and image

Post by [-hh] » Sun Jun 16, 2019 8:09 pm

[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
shiftLock happens

Post Reply

Return to “HTML5”