Embedded Video

Sytek

Active Member
Licensed User
Longtime User
Hi! :sign0087:
This is a live video streaming, and i need to create an app in my device!

How can I embed this video; Please Help!
<script type="text/javascript"> swidth='600', sheight='400';</script><script type='text/javascript' src='http://www.sawlive.tv/embed/penguin-cam'></script>

Best Regards!
 
Last edited:

Sytek

Active Member
Licensed User
Longtime User
Hi Erel! :sign0087:
Thank's for your answer
I'm trying to play a live streaming; But i cannot make it work, it throws me the following error, sorry, this video cannot be played.
I'm attaching the project would you please put me in the right direction?
Thank's Again
Best Regards!
 

Attachments

  • VideoView.zip
    5.8 KB · Views: 221
Upvote 0

Sytek

Active Member
Licensed User
Longtime User
Erel, Here's my WebView project as you told me!.
The video does not start in my Device:
Viewsonic Viewpad7 Android Version 2.2.1
Would you please help me?
Thank's in advance
Best Regards!
 

Attachments

  • YoutubeVideo.zip
    30.2 KB · Views: 261
Upvote 0

Sytek

Active Member
Licensed User
Longtime User
It is possible that WebView doesn't support this page. Does it work in the Android browser?
....Yes it work!
But in my app does not work, I need to create an app for that device. What else would be?
Thank's for your support!
Best Regards!
 
Last edited:
Upvote 0

NJDude

Expert
Licensed User
Longtime User
The video you have is a YouTube video, then use the YouTube app to play it, like this:
B4X:
Dim PlayVideo As Intent

PlayVideo.Initialize(PlayVideo.ACTION_VIEW, "vnd.youtube:O62XahGc5g4") 
PlayVideo.PutExtra("VIDEO_ID", "O62XahGc5g4")
            
StartActivity(PlayVideo)

By the way, your video takes forever to load.
 
Last edited:
Upvote 0

Sytek

Active Member
Licensed User
Longtime User
Thank's for your reply NJDude.
I will test it. And see if the video takes forever to load
Best Regards!
 
Upvote 0

Sytek

Active Member
Licensed User
Longtime User
Hi NJdude!
Your Solution works just fine; on my device it didn't take too long, if that happen I'd get it back and play it again, but that's what happen in my device.
Best Regards!
 
Upvote 0
Top