HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 18th, 2012, 12:03 AM
rgrstvr rgrstvr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 6 rgrstvr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 7 sec
Reputation Power: 0
New Member - Insert video into website

I am using Dreamweaver.

I click on INSERT - MEDIA - FLASH

I choose an flv file which is in the same folder as the text I am trying to insert a video into.

I get this message - "To make a root-relative path, your document should be saved under a local site.

Save your document under a known site, or add a new site using Site>NewSite. A 'file://' path will be used for now.

I HAVE NO IDEA WHAT THEY MEAN BY 'root-relative path' or a 'local site' or a 'known site.'

Reply With Quote
  #2  
Old June 18th, 2012, 01:51 AM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Code Monkey V. 0.9
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 1,885 Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 14 h 47 m 3 sec
Reputation Power: 1798
It means that your Flash file is not in the same folder as the other files in your website, so the program can't give it a relative URL because there's no way to reference it through a "standard" link.

The fix for this is to copy the flash file into your sites folder structure somewhere, and then embed that file.

Reply With Quote
  #3  
Old June 18th, 2012, 01:43 PM
rgrstvr rgrstvr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 6 rgrstvr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 7 sec
Reputation Power: 0
The two files are in a folder on my computer - intended for our website but not yet uploaded.

One file is an html file, the other an flv file.

They are both right next to each other in the folder, and are the only two files in that folder.

Reply With Quote
  #4  
Old June 18th, 2012, 06:07 PM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Code Monkey V. 0.9
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 1,885 Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 14 h 47 m 3 sec
Reputation Power: 1798
Then that means that you either haven't set up a site in Dreamweaver yet, or your HTML file is outside of that sites folder.

If you are going to keep the Flash file in the same folder as the HTML file, the easy way to do it is to edit the source code of the HTML file to only leave the Flash file name in the references to it. So, instead of having something like:
Code:
f:/path/to/file/flash.swf

You would change that to:
Code:
flash.swf

If I remember Flash embeding, there's normally two spots where it is, but double check because there could be more (I haven't had to do this for a while).

Reply With Quote
  #5  
Old June 25th, 2012, 11:28 AM
rgrstvr rgrstvr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 6 rgrstvr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 7 sec
Reputation Power: 0
i try again

i got dreamweaver to insert something - but - this is the code i got -

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="(URL address blocked)=6,0,29,0" width="32" height="32">
<param name="movie" value="file:///C|/My%20Documents/Timeline/Videos/20Fruit.flv">
<param name="quality" value="high">
<embed src="file:///C|/My%20Documents/Timeline/Videos/20Fruit.flv" quality="high" pluginspage="(URL address blocked)" type="application/x-shockwave-flash" width="32" height="32"></embed></object>
</span></i></strong></p>

but on the design sheet all i see is a small square with a diagonal "f".

Reply With Quote
  #6  
Old June 25th, 2012, 05:26 PM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Code Monkey V. 0.9
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 1,885 Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 14 h 47 m 3 sec
Reputation Power: 1798
Look at my last reply, and read it closely again. See the part where I talked about the difference in the file names? That's what you still need to do.
Code:
file:///C|/My%20Documents/Timeline/Videos/20Fruit.flv

Should be
Code:
20Fruit.flv

Of course assuming that the Flash file is in the same folder as your HTML file. Also remember that there's more then one place where this is, so look for all of them.
Comments on this post
jamespayne agrees!

Reply With Quote
  #7  
Old June 26th, 2012, 03:00 PM
rgrstvr rgrstvr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 6 rgrstvr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 7 sec
Reputation Power: 0
change attempt

so I tried this -

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="(URL address blocked)=6,0,29,0" width="32" height="32">
<param name="movie" value="20Fruit.flv">
<param name="quality" value="high">
<embed src="file:///C|/My%20Documents/Timeline/Videos/20Fruit.flv" quality="high" pluginspage="(URL address blocked)" type="application/x-shockwave-flash" width="32" height="32"></embed></object>
</span></i></strong></p>

then i tried this -
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="(URL address blocked)=6,0,29,0" width="32" height="32">
<param name="movie" value="20Fruit.flv">
<param name="quality" value="high">
<embed src="20Fruit.flv" quality="high" pluginspage="(URL address blocked)" type="application/x-shockwave-flash" width="32" height="32"></embed></object>

Neither worked.

Reply With Quote
  #8  
Old June 26th, 2012, 05:38 PM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Code Monkey V. 0.9
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 1,885 Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 14 h 47 m 3 sec
Reputation Power: 1798
My suggestion now would be to create a new site in Dreamweaver, set the folder for that to where you're storing the files. Then when you can see the HTML and SWF file in the same directory in your file browser area try to insert it again.

Remember - there's a setting for 'RElative to:' in the insert window, so make sure that the value for the is set to 'Document'.

Apart from that you could always try a JavaScript library like swfobject that can sort out the tags for you when you get it set up.

Reply With Quote
  #9  
Old June 30th, 2012, 05:14 PM
rgrstvr rgrstvr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 6 rgrstvr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 7 sec
Reputation Power: 0
again and again

i tried setting up a new small file with dreamweaver and the same thing happened again.

swfobject is beyond my ability. too many big words and acronyms.

do you have any recommendation as to a special mini program that just addresses the task of adding video to html? there seem to be a number of them advertised on the internet with free trials available before purchase. the few i noticed seem to be for streaming video - i don't know if that is what i am looking for or not.

Reply With Quote
  #10  
Old July 1st, 2012, 05:45 PM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Code Monkey V. 0.9
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 1,885 Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 14 h 47 m 3 sec
Reputation Power: 1798
Note: I didn't say set up a new file. I said set up a new site and move your HTML file and your swf file into that sites root folder. More info from Adobe ....

The reason that the files are being linked the way they are is that Dreamweaver will work on a fill physical file path for ANY fie that is set up outside of a site/project that has been set up. So, you need to do a bit more set up before you start trying to create more files and move things around because unless you do it the way that Dreamweaver expects you will always end up with the same result which obviously doesn't work.

One other issue that I've only just noticed is that you are trying to add a .flv file to the site, and that's not normally how it works. In Flash you should export the file to a .swf file. The difference is the .flv file is your source movie with all of the high-res video and full data, and the .swf file is the optimised file ready to go on your site. I haven't had to use flash for a long time so I don't remember the exact menu options to do this, but it should be pretty easy to find.

Reply With Quote
  #11  
Old July 1st, 2012, 09:05 PM
rgrstvr rgrstvr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 6 rgrstvr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 7 sec
Reputation Power: 0
swf file

ok - converting the flv file to swf was the problem.

now i have got the video on my html file and i think it is just a matter of detailing the code.

i am using a program called AVS4YOU.

do you have any problem with that program, or would you suggest some other way to go?

Reply With Quote
  #12  
Old July 12th, 2012, 02:16 AM
mppglobal mppglobal is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 1 mppglobal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 45 sec
Reputation Power: 0
Smile ecommerce

Hello Rgrstvr!!
Please help me.I want create own site video in this site.please guide me.How can i do?
Thanks for this...........:-)

Reply With Quote
  #13  
Old August 6th, 2012, 06:57 AM
stuartweb stuartweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Location: Jaipur, India
Posts: 5 stuartweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 31 sec
Reputation Power: 0
Quote:
Originally Posted by Catacaustic
Then that means that you either haven't set up a site in Dreamweaver yet, or your HTML file is outside of that sites folder.

If you are going to keep the Flash file in the same folder as the HTML file, the easy way to do it is to edit the source code of the HTML file to only leave the Flash file name in the references to it. So, instead of having something like:
Code:
f:/path/to/file/flash.swf

You would change that to:
Code:
flash.swf

If I remember Flash embeding, there's normally two spots where it is, but double check because there could be more (I haven't had to do this for a while).


Yeah, It is absolutely correct information .....

Reply With Quote
  #14  
Old August 9th, 2012, 12:10 PM
AvsH AvsH is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Dec 2006
Location: IL, USA
Posts: 584 AvsH User rank is Sergeant (500 - 2000 Reputation Level)AvsH User rank is Sergeant (500 - 2000 Reputation Level)AvsH User rank is Sergeant (500 - 2000 Reputation Level)AvsH User rank is Sergeant (500 - 2000 Reputation Level)AvsH User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 17 h 51 sec
Reputation Power: 20
As mentioned do not specify the whole file path (omit the C:\.....) data and since they are in the same relative folder, just put the file name.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > New Member - Insert video into website

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap