Click a text to play sound - audio

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.

Related

how to customise elementor functionality(how do I find the right bit of code?)

I'm trying to make a web page formatted similar to that of Netflix. Where a list of videos are displayed in a div with two arrows in either direction on each side. When the number of videos are more than the width of the window clicking the arrows moves the displayed videos in the corresponding direction by one video.
And(key part), when a video is clicked, the clicked video gets displayed on another div(main part of the screen) with a text of introduction and an excerpt of the video playing in the background of that section, plus a "play" button to start the video.
I would probably be able to sort it out with vanilla code. But this page is managed by WordPress so I would have to plug in my code with wordpress.
My assumption is that hacking the existing elementor code for the video widget would be the quickest way to do it. But I don't know how to find the code corresponding to the functionality I need to modify to customize it to do what I want. I can locate the video-widget file, but still, it's a huge file with lots of code. How do I find the functionality I need specifically to import into my own code?
Thank you and sorry for the verbose phrasing.

LibVLCSharp MediaPlayer marquee text for audio files?

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?

Phaser game audio can not play in webview android 4.2

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.

I cannot add movie in text widget

I use impresspage 4 -current verion
I send the video to the repository. I add a text widget to the page. I click the Insert / edit your movie and choose the video from the repository. Unfortunately, the movie does not appear.
If I add the html widget and I will add the video in the video tag, it works.
Is this a bug?
You are probably using a non standard text widget, but one provided as a plugin. Because default widget has no video capabilities.
The plugin may have limited capabilities. I suggest you to use Video widget to display videos from YouTube or Vimeo.
Alternatively you can use HTML widget to display your video in some unique way, like html5 video player, etc.

Can I create a video controller/ overlay in LiveCode

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.

Resources