I'm using Vimeo Unity SDK and a REST API that sends me back a video url, I tried to use VimeoPlayer.PlayVideo(url) method but it doesn't work on mobile, on editor it works fine, the video is not played and I get no errors, also the method is wrapped on a coroutine. If someone has a solution I will be very grateful.
Can you provide more information? Unity version, Vimeo plugin version, what android device and OS version?
Unity's native Video Player is not good across platforms. People have been having quite a few issues. I'd recommend using an alternative video decoder like AVPro Video, which supports adaptive playback and is important for mobile devices like Android.
Related
I need help in switching mobile device camera in sdk Vuforia Engine Unity SDK v10.13 because vuforia has chnages the entire SDk. I did it past but i could find any documentation. Please help
I couldn't find any documention regarding camera switching in Vuforia Engine Unity SDK v10.13
Unfortunately switching btw back and front camera has been depracated but this can be achieved if its necessary via https://library.vuforia.com/platform-support/driver-framework.
If you need to sw btw the several back cameras that phones have, I don't believe its necessary as Vuforia usually selects the main camera and selecting any other camera like Telephoto or Ultrawide will results in tracking issues as the SDK was not designed to work with such images out of the box.
The Q that I would have, why do you need to sw? what do you want to achieve?
I get the sdk from here, https://github.com/vimeo/vimeo-unity-sdk
but when I build a single scene into android Huawei tab, the audio seems working including seeking but not the video.
After discussing with Tengku on GitHub, it seems like this is an issue with Unity's native VideoPlayer and not the Vimeo SDK as the streaming works on other devices/platforms. Feedback should be sent to the Unity team directly.
Right now, I think there is not a way to do it within Unity. This is what I have found so far (please, correct me if I'm wrong):
The most popular VR plugins compatible with Unity for both Android and iPhone are Durovis Dive SDK and Google Cardboard SDK.
I have read that most Android phones are compatible with those VR plugins. My experience is that just a few are compatible. Durovis Dive SDK seems to be the most compatible one nowadays. If the Android phone has not gyroscope and the game has the Google Cardboard SDK plugin, the game won't load or crash. If the Android phone has not gyroscope, the game will load but the image will be still when we move the phone.
Unity 5.3 has been just released. It includes WebGL support. It includes VR support. Samsung Gear and Occulus are supported. However, I have not found out anything about the compatibility with others Android or iPhone devices. Maybe it works (I have not test it. I have not found somebody who has test it yet).
Here there is a list with VR technology for the web.
We can find stuff to Export an Unity scene to Three.js. Scripts and animations don't seem to work though.
I just spoke with an industry leader in VR experiences for media companies a couple weeks ago. And his company was one of the first to attempt VR in a web browser through mobile. He said it didn't work very well. He was partially successful, but if his company had problems, I'm guessing it's still a few years off. He said new additions to HTML are coming that will improve this over the next few years.
Hope that helps!
could you try WEBVR
YouTube Tutorial: Demo WebVR Unity
Although it has some defects, but it can serve you for basic applications. I was testing it with 360 videos, this was very heavy for the platform.
You may try WebXR. But you can't add both SDK at the same time.
I am playing videos through my asp.net application on desktops and mobile phones as well.
I have a code which is written in html using video tag. I send URL to user to play a video and it works totally fine on desktop's including Mac as well. I have tried accessing it on Samsung galaxy SII phone which has got android os in it. my video works on it with no issues but when I try to access that URL on iPhone player.aspx gets load properly but it just doesn't play the video.
Video is in .mp4 format.
I am playing it in IPHONE on safari browser.
Can anyone please help me regarding it.
Thank you
How can i playback and record simultaneously using Corona SDK for iOS devices? I am trying to build something similar to karaoke. It would be helpful if someone pointed me to any ready API or repository on GitHub or could help me solve the problem.
Sorry, but you cannot do that in realtime...
And to do without realtime would involve using some APIs that Corona do not expose to do sound editing, Corona support for sound is still VERY basic, probably because Android sound support is a little unstable now too...
To do that you would need Corona Enterprise, and lots of native SDK fiddling, and I am not sure if you can do it in Android without some heavy work...