MPMoivePlayer Video Play in Background - audio

I want to play the Audio of video in the Background..
I m using MPMoivePlayerController..
How can i Solve that ?
Please Help me..
thanks in Advance..

MpMoviePlayer doesn't supported, you must try AvPlayer..
https://developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVPlayer_Class/Reference/Reference.html

Related

Godot HTML5 graphics not rendering correctly

I am having some issues with the HTML5. The version I am using of Godot is 3.2.3.
It should look like this:
[1]: https://i.stack.imgur.com/f8HPE.jpg [How the game should look, in all its glory :p]
But when I open it on my local server, it looks like this:
[2]: https://i.stack.imgur.com/aZT2l.jpg [How the game looks, in all its glitchness :p]
What could be causing this?
It is also skipping the login scene when I run it on browsers. The exe version runs a-okay.
GLES2 Is the recommended graphics driver for HTML5 games with Godot! Hope this helps! More About the differences between the two graphics drivers can be found: here
Have a great day!
I know this is an old post, but the problem with that seems to be that there is some screen space post process filter enabled like SSAO.
GLES3 is better on some sides but comes with a few issues for HTML

Circle images not working in codeflower d3.js

I've tried very best to resolve issue of images not loading in circle. It shows transparent nodes. Kindly help.
json sample
{"name":"root","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","size":250,"value":44,"children":[{"id":"id0","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#iHeartRadio","size":150,"value":48,"children":[{"id":"id1","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#IamDiamondEyes","size":140,"value":44},{"id":"id6","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#clearhair","size":90,"value":25}]},{"id":"id2","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#Macys","size":130,"value":43},{"id":"id3","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#natekristanto","size":120,"value":42},{"id":"id4","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#CVGUpdates","size":110,"value":32},{"id":"id5","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#w0nderfvl","size":100,"value":27},{"id":"id7","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#BPlizak","size":180,"value":24},{"id":"id8","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#courtneyerhard4","size":170,"value":24},{"id":"id9","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#BriaKelly","size":160,"value":19},{"id":"id10","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#bulbaqsauce","size":150,"value":19},{"id":"id11","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#kubbyop","size":140,"value":19},{"id":"id12","icon":"https://pbs.twimg.com/profile_images/672863761674338304/V8Y88vu5.jpg","name":"#Lemonade229","size":130,"value":18}]}
Codeflower code: https://pastebin.com/VFS6DZie
Thanks in advance
Solution was upgrading to d3.3

How do I play a .wav upon having someone click a link

I have a .wav that I want to play when a person clicks on a link. How do I go about doing that? I'm not exactly an expert at html or css or javascript so be gentle with me
Reference
Playing audio with Javascript?
Example
Two Links
Play
Stop
jQuery click Events
$(document).ready(function(){
var audio;
$("a.playButton").click(function(){
console.log("playing");
audio = new Audio('http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media- Convert/Media-Convert_test1_Alaw_Mono_VBR_8SS_16000Hz.wav');
audio.play();
});
$("a.stopButton").click(function(){
console.log("Pause");
audio.pause();
});
});
Now this probably isn't the most accurate way to do this but it gives you an idea of how this works. If you want to use the built in audio tag you can do that too cause that will give you the controls and other helpful things.
JSFIDDLE
https://jsfiddle.net/pzth1zd5/

Monotouch: Play movie without interrupting audio of other apps e.g. iPod

I have a silent movie (No sound at all in that clip) which acts as a background movie for my view.
When I play music with iPod and then open my app the iPod music stops.
I don´t want my movie to interrupt the iPod Audio. I´ve read that UseApplicationAudioSession is deprecated but how do I realize this now?
Thank you for your help!
EDIT: And because I add an image onto the MovieplayerViewController I can not use AVPlayer.
PS: Other threads I´ve found here do mention the deprecated UseApplicationAudioSession solution thats why I opened a new question.
Thanks :)
Here is my solution:
AVAudioSession audioSession = AVAudioSession.SharedInstance();
NSError audioSessionError = new NSError();
audioSession.SetCategory(new NSString("AVAudioSessionCategoryAmbient"), out audioSessionError);

Play audios compressed with G729 in J2ME

I want to play an audio compressed with G729. How can I handle codes in J2ME player?
Player p = Manager.createPlayer(url);
p.realize();
where and what I put here to mention about G729.? Any explanation with a sample code please.
I looked here as well.but couldn't find a good solution.

Resources