Sound can play when a user initiates a touch/click event.
I want sound to auto-play and loop in webview.
And if have 3 audio files I cannot play all.
The most common reason that audio doesn't play in browser is by using mp3 format. Make sure you use .ogg format for audio instead of .mp3.
Related
I am trying to implement JPlayer on my web site in order to play a "before and after" rendition of the same audio. I would like to use this to allow people to easily compare the effects of an audio processor (e.g. this is "with the EQ", this is "without the EQ").
To do it, I'd like to have:
1 player (1 "Play" button, as simple as that)
2 buttons with "before" and "after" or "without" and "with"
Example:
User clicks on Play, the "before.mp3" version plays...
...if they click on "after" the audio keeps going (it does not rewind) and switches to the "after.mp3" audio file.
...player eventually stops at the end of the clip.
Thanks in advance,
I still have not implemented it and I am brainstorming if this can be done with JPlayer.
Please I have a website for learning language. The website was built using a WordPress theme.
I have recorded mp3 sounds and linked them to some text. example below
Text "COME" So I highlight text "COME" then I browse for mp3 sound file which is COME.mp3
Now when I click text, COME, sound plays by opening the media player. I want that the sound plays without opening the media player.
I've been messing around with LibVLCSharp and noticed that there is an option to display text when using the MediaPlayer. You can do this with SetMarqueeString (To set the text) and SetMarqueeInt (To enable the text to be shown).
This works great on video files. I discovered that this doesn't work at all if you are playing an audio file. Is this intentional, and if so, is there a way to display text when playing audio files?
I am facing an issue with new iOS 11 feature of screen recording. The video content of my app is copyright protected so I want to block screen recording while the video is being played.
I have seen in some apps that during screen recording, the recording continues but when you play the video, the video screen freezes and audio continues to record, and when the video is stopped the screen recording unfreezes. I want to achieve something similar.
If someone has a clue how to do this please let me know. Thanks!!
I have been using LiveCode for a couple of weeks now and have a question.
I would like to create a custom video controller with play, stop, rewind etc with LiveCode that shows and hides at the bottom of the screen if you touch the video currently playing in the video player on a mobile device.
I have created the menu page with a selection of 4 videos to choose from and selecting any video goes to the next card and plays the video. On completing the video it goes to the previous card allowing the next selection. The video controls on the Quicktime player with LiveCode are rather crude and I would like to create a better looking interface. Is this possible with LiveCode?
Yes it is possible.
Look at the following commands and functions in the dictionary:
start command
stop command
playStopped message
currentTime property
currentTimeChanged property
playLoudness property
In addition, make sure to look at what's in each entries "see also" list.