Start a new topic
Solved

Stream Video from Internet

Stream Video from Internet


Hi ,

we were able to play a local video which is present in Assets folder and while publishing, it is packed into the apk.

But how do we play a video which is hosted on internet. I want to play the video directly on the image but the video should be a streaming video directly from internet and not present in apk.

Please suggest. Thanks

Hi there, depending on whether you want to display a video in Fullscreen or directly on image there exist two different apis.

In case of Fullscreen videos you can use your existing code by just replacing the assets file path with the correct url of the image.

var vidonetopay = new AR.context.startVideoPlayer("http://www.videourl.com/whatever/video.wav");

 

In case you want to display the video directly on the image please refer to the API documentation of the VideoDrawable class.

 

Hope that helps,

Markus

1 person likes this

Hi Markus,

Thanks for feedback.

but can we play video from colud storage ?

if yes then how can we do it ? 

is there any api used for playing video form cloud storage ?

 

Best Regard

Chetan 

Hi!

Could you elaborate a little more on how your setup would look like?

If you want to store your video in the cloud on a service like dropbox you just need to create a public url link to it and paste the url in the api call.

Hope that helps,

Markus

Hi,

Markus is right that in Cloud environment a public URL is required.

Mariah

Appliconic

Hi Markus

I understand we can play a video from a server / cloud. But when we do that especially with larger vieos, it waits for the whole video to download before it can play. Is there a way to stream videos, so that in can buffer some part of the video and start playing.

Regards
Ankur

Hi!

Can you tell me a little bit more about your environment. Are you using the FullScreen-video feature or VideoDrawables within our SDK?

Thx,

Markus
Hi Markus

We are using the Video Drawables.

Regards
Ankur

Hello!

The capability of streaming certain videos is based on the features of the platforms media player. For e.g. android we use the android MediaPlayer class for streaming video content. 

In that case the possibilty of streaming is based on the restrictions implored by the android platform.

Please refer to the android documentation (https://developer.android.com/guide/appendix/media-formats.html) for more details.

Hope this helps,

Markus

I tried to streaming m3u8 (streaming format) file from url but failed in IOS. Is it possible to stream or not? 


https://player.vimeo.com/external/222210604.m3u8?s=3d58a6932ec7e54cabd96d6fcd79109dfd9a0483


1 person likes this
Feedback has been provided here: https://support.wikitude.com/support/discussions/topics/5000083478
Please do not create duplicated forum posts.

 


1 person likes this

hello

Hi, can I Share my screen to other user so that he can live  stream my video. 

hi, i need to open my website while image is recognised how can i do that


Login or Signup to post a comment