JPlayer and wav file - javascript

There is an issue with jPlayer and playing wav files. I tried to play a wav file but some of my buttons are not working as what they should like, my 'stop' button only pauses, then another is that I can't use my 'seekbar'.
Do you an idea on how to fix this thing?

Related

Video.js - How to add multiple audio tracks to the video.js player?

I am working on a project where I have to create a Video player which has multiple audio tracks. I gone through Video.js documentation but couldn't figure it out how can I do it.
I have one .mp4 video file and different audio files I want to use as audio tracks for the video. But I am unable to figure it out how can I pass these audio files to the Video.js's player.
Is there any other library other than Video.js which can help me with this problem?
Video.js doesn't support multiple audio tracks in this way, with separate files. Instead, you can use an HLS source which can contain multiple audio tracks.

How can I play a locally stored video as lightbox effect in HTML page?

I am wondering how can I play locally store videos on HTML5 with lightbox effects (where it pop-ups and play). I've tried a few options such as:
http://ashleydw.github.io/lightbox/#videos
http://jbutz.github.io/bootstrap-lightbox/
But these are supporting youtube or Vimeo videos and doesn't seem to work with local videos.
I also looked at following question
Video in jQuery and Fancybox (Local video file mp4 Instead of Youtube) but the only thing I got to know is we need an external video player to play the video and it would not work on the mobile.
Is there any generic solution to this problem?

AAC audio source with Cordova not playing properly.

I am using PlayCordovaAudio() function to stream audio (Shoucast).
The MP3 audio source is playing well with this code:
playCordovaAudio('the.url:PORT/;stream.mp3');
But, when trying to play an AAC audio source, the audio starts and stops right away. Even when using the same function:
playCordovaAudio('the.url:PORT/;stream.aac');
Here is the app that I am developing. If you want, you can download it and test it: https://play.google.com/store/apps/details?id=com.es611radio.kreactivamente1610001
(the first radio play is from the .mp3 audio source, the second one is an AAC audio source).
Any idea how could I fix this?
Thank you in advance

Video Streaming TS file

I need to play .ts streaming video file in mobile devices through a web page link, kindly provide me any example of it. I have tried video source tag with type "application/x-mpegURL" but it is not working. Can we call the .ts video file in a HTML5 video tag?
From this link (possible duplicate)
You are basically talking about Apple's HLS format. You can use an
html5 object in your web page. You can use http://osmfhls.kutu.ru/
flash plugin. You can use jwplayer. There are more choices (e.g.
flowplayer).

Sound is distort on iPad when using web audio api

I have a problem when I am trying to play on iPad an mp3 using the web audio api.
In fact, the application is a html page where I try to play some mp3 or video files.
If I play first a video and then an mp3 file, the mp3 sound is distort.
If I play first a mp3 file everything work fine.
Even if all the video and audio have the same sample rate is not working.
Do you have any idea what should I do to avoid sound distortion?

Categories

Resources