It is currently Sat Mar 25, 2017 2:45 am



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: video not loading
Unread postPosted: Thu Jan 12, 2017 7:56 pm 
Offline

Joined: Wed Nov 16, 2016 5:24 pm
Posts: 8
Hello
Im having an issue with loading a video, not loading it off the internet.

In the below code video1 will load and play but video2 will not.
And i have checked and the vid is in the correct folder.
If a path$+filename$ is used it fails.

Any ideas?


include "gw.bas"

video:

video1$= "video.mp4"

video2$= "/../../video/video.mp4"

vid = GW_NEW_PAGE()

xx1=GW_ADD_VIDEO(vid, video1$)

xx2=GW_ADD_VIDEO(vid, video2$)

GW_ADD_BUTTON (vid, "Exit", "EXIT")
GW_RENDER (vid)
wait:
do
a$ = GW_WAIT_ACTION$()

until a$="EXIT"


Top
 Profile  
 
 Post subject: Re: video not loading
Unread postPosted: Thu Jan 12, 2017 11:36 pm 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1288
Hi charles

Try modifing
Code:
video2$= "/../../video/video.mp4"


TO

Code:
video2$= "../../video/video.mp4/"



Roy


Top
 Profile  
 
 Post subject: Re: video not loading
Unread postPosted: Fri Jan 13, 2017 9:12 am 
Offline

Joined: Wed Nov 16, 2016 5:24 pm
Posts: 8
Thank you roy
It worked, i will admit i never had to take off a "/" before,
Thanks again


Top
 Profile  
 
 Post subject: Re: video not loading
Unread postPosted: Wed Mar 22, 2017 11:25 am 
Offline

Joined: Mon Nov 14, 2016 6:49 am
Posts: 39
Very important remark! Gwlib support live video streams. Especially if it is .m3U live play list. But Android version must support used codec and video format. Sure, You can not open RTMP RTMPS and some other protocols thanks to build in Android limitations. I Am wondering if Basic interpreter thanks to its speed would be even used for RTMP protocol support? OOr this is science fiction? And full Java or C++ must be used for that purposes?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred