Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 11    Views: 158

basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
06/20/12 01:21 PM (13 years ago)

embedding a video into an html text file (iOS)

I'm using a locally stored html text file in my app and want to embed a short video into it. The video will be embedded within the app too. I've tried to do it the way I normally would: <embed src="FinalSkylightDemo4.mov" width="240" height="148"> </embed> but that didn't work. Any suggestions?
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
06/20/12 02:06 PM (13 years ago)
When you do it like that, do you get an empty box, or nothing at all? I have only embedded URL videos. Curious as to what you see.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/20/12 02:10 PM (13 years ago)
I pasted it back in to see what I got and the thing worked this time! I must have missed something last time, cos I got a red "no entry" icon over the play button. This time it worked perfectly! one of those days!
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
06/20/12 02:35 PM (13 years ago)
Glad it worked. I have a short video I have been thinking of including within the app myself.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/20/12 02:51 PM (13 years ago)
it works quite well. Doesn't play in place though. When clicked, it opens full screen, then when it's done playing, it takes you back to the page you clicked on it from.
 
lsills81
Apple Fan
Profile
Posts: 469
Reg: Mar 19, 2012
location unknow...
14,090
like
06/20/12 07:07 PM (13 years ago)
@basement where did you place "<embed src="FinalSkylightDemo4.mov" width="240" height="148"> </embed>" and if you get it to resize would you post how. Thank you!!!!
 
erdocsg
Lost but trying
Profile
Posts: 21
Reg: Jan 31, 2012
philadelphia
1,160
like
06/20/12 07:49 PM (13 years ago)
i would be interested also, since youtube videos aren't supported on the latest version of buzztouch app.. i would love to put a movie in my app from you tube
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/20/12 10:35 PM (13 years ago)
Not sure where the YouTube not working in BTv2.0 rumor got started, but it's not correct. Fred
 
lsills81
Apple Fan
Profile
Posts: 469
Reg: Mar 19, 2012
location unknow...
14,090
like
06/20/12 10:40 PM (13 years ago)
I was wanting to understand how to control the size of the video....keep it from going full screen.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/21/12 04:06 AM (13 years ago)
I use 1.5. Tried 2, but it seems to have less options when I looked. here's what I see: https://www.dropbox.com/s/1e2uhlstdhr61qd/IMG_6505.PNG but when I touch the movie image, it does play in full screen. (I've set my app not to rotate, but it would be nice to have the video still rotate, otherwise it seems like a waste of screen real estate) It's just in the html code: <center> <p><img height="51" src="skylightlogo150.png" width="150" /></p> <p> <embed src="FinalSkylightDemo4.mov" width="240" height="148"> </embed> </p> </center>
 
lsills81
Apple Fan
Profile
Posts: 469
Reg: Mar 19, 2012
location unknow...
14,090
like
06/21/12 06:15 AM (13 years ago)
@basement I am complete noob with html...where is that location? Thanks
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/21/12 06:22 AM (13 years ago)
you create a new html(text) file in BT, and drop in the HTML code. If you want me to create it for you, send me a DM with what you need.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.