Inserting FLV

Could you please point me in the right direction as to the best was to include flv in my webpage?

I am currently using the following script:

<object type="application/x-shockwave-flash" data="movie.swf" width="170" height="148">
 <param name="movie" value="FLVPlayer_Progressive.swf" />
  <param name="movie" value="FLVPlayer_Progressive.swf" />
  <param name="salign" value="lt" />
  <param name="quality" value="high" />
  <param name="scale" value="noscale" />
  <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRewind=true" />
  <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRewind=true" quality="high" scale="noscale" width="170" height="107" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object> 

However, this comes back with 26 errors as can be seen below.


I would be very grateful if the correct way to insert flvs could be passed on as I have had no end of trouble trying to find the solution.


Many thanks

David



Heres my errors:

Below are the results of checking this document for XML well-formedness <http://www.w3.org/TR/REC-xml>  and validity. 
1. Warning Line 83 column 34: cannot generate system identifier for general entity "MM_ComponentVersion".
2.   <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&st
3. An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG <http://www.htmlhelp.com/>  in "Ampersands in URLs <http://www.htmlhelp.com/tools/validator/problems.html> ". 
4. Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters. 
5. If this error appears in some markup generated by PHP's session handling code, this article <http://www.w3.org/QA/2005/04/php-session>  has explanations and solutions to your problem. 
6. Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed. 
7. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=338>  
8. Error Line 83 column 34: general entity "MM_ComponentVersion" not defined and no default entity.
9.   <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&st
10. This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details. 
11. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=25>  
12. Warning Line 83 column 53: reference not terminated by REFC delimiter.
13. ...lashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=medi
14. If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text. 
15. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
16. Warning Line 83 column 53: reference to external entity in attribute value.
17. ...lashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=medi
18. This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&amp;'. 
19. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
20. Error Line 83 column 53: reference to entity "MM_ComponentVersion" for which no system identifier could be generated.
21. ...lashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=medi
22. This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details. 
23. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
24. Info Line 83 column 33: entity was defined here.
25.   <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&st
26. Warning Line 83 column 56: cannot generate system identifier for general entity "skinName".
27. ...hVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/t
28. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=338>  
29. Error Line 83 column 56: general entity "skinName" not defined and no default entity.
30. ...hVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/t
31. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=25>  
32. Warning Line 83 column 64: reference not terminated by REFC delimiter.
33. ...alue="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_
34. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
35. Warning Line 83 column 64: reference to external entity in attribute value.
36. ...alue="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_
37. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
38. Error Line 83 column 64: reference to entity "skinName" for which no system identifier could be generated.
39. ...alue="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_
40. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
41. Info Line 83 column 55: entity was defined here.
42. ...shVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/
43. Warning Line 83 column 78: cannot generate system identifier for general entity "streamName".
44. ...onentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=t
45. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=338>  
46. Error Line 83 column 78: general entity "streamName" not defined and no default entity.
47. ...onentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=t
48. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=25>  
49. Warning Line 83 column 88: reference not terminated by REFC delimiter.
50. ...on=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRe
51. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
52. Warning Line 83 column 88: reference to external entity in attribute value.
53. ...on=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRe
54. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
55. Error Line 83 column 88: reference to entity "streamName" for which no system identifier could be generated.
56. ...on=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRe
57. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
58. Info Line 83 column 77: entity was defined here.
59. ...ponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=
60. Warning Line 83 column 108: cannot generate system identifier for general entity "autoPlay".
61. ...Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRewind=true" />
62. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=338>  
63. Error Line 83 column 108: general entity "autoPlay" not defined and no default entity.
64. ...Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRewind=true" />
65. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=25>  
66. Warning Line 83 column 116: reference not terminated by REFC delimiter.
67. ...treamName=media/teaching_vid&autoPlay=true&autoRewind=true" />
68. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
69. Warning Line 83 column 116: reference to external entity in attribute value.
70. ...treamName=media/teaching_vid&autoPlay=true&autoRewind=true" />
71. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
72. Error Line 83 column 116: reference to entity "autoPlay" for which no system identifier could be generated.
73. ...treamName=media/teaching_vid&autoPlay=true&autoRewind=true" />
74. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
75. Info Line 83 column 107: entity was defined here.
76. ..._Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRewind=true" />
77. Warning Line 83 column 122: cannot generate system identifier for general entity "autoRewind".
78. ...ame=media/teaching_vid&autoPlay=true&autoRewind=true" />
79. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=338>  
80. Error Line 83 column 122: general entity "autoRewind" not defined and no default entity.
81. ...ame=media/teaching_vid&autoPlay=true&autoRewind=true" />
82. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=25>  
83. Warning Line 83 column 132: reference not terminated by REFC delimiter.
84. ...teaching_vid&autoPlay=true&autoRewind=true" />
85. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
86. Warning Line 83 column 132: reference to external entity in attribute value.
87. ...teaching_vid&autoPlay=true&autoRewind=true" />
88. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
89. Error Line 83 column 132: reference to entity "autoRewind" for which no system identifier could be generated.
90. ...teaching_vid&autoPlay=true&autoRewind=true" />
91. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
92. Info Line 83 column 121: entity was defined here.
93. ...Name=media/teaching_vid&autoPlay=true&autoRewind=true" />
94. Error Line 84 column 13: there is no attribute "src".
95.   <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinN
96. You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). 
97. This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. 
98. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. 
99. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
100. Error Line 84 column 51: there is no attribute "flashvars".
101. ...FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_S
102. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
103. Warning Line 84 column 72: reference not terminated by REFC delimiter.
104. ....swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=medi
105. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
106. Warning Line 84 column 72: reference to external entity in attribute value.
107. ....swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=medi
108. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
109. Error Line 84 column 72: reference to entity "MM_ComponentVersion" for which no system identifier could be generated.
110. ....swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=medi
111. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
112. Info Line 83 column 33: entity was defined here.
113.   <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&st
114. Warning Line 84 column 83: reference not terminated by REFC delimiter.
115. ...vars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_
116. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
117. Warning Line 84 column 83: reference to external entity in attribute value.
118. ...vars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_
119. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
120. Error Line 84 column 83: reference to entity "skinName" for which no system identifier could be generated.
121. ...vars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_
122. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
123. Info Line 83 column 55: entity was defined here.
124. ...shVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=media/
125. Warning Line 84 column 107: reference not terminated by REFC delimiter.
126. ...on=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRe
127. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
128. Warning Line 84 column 107: reference to external entity in attribute value.
129. ...on=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRe
130. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
131. Error Line 84 column 107: reference to entity "streamName" for which no system identifier could be generated.
132. ...on=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRe
133. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
134. Info Line 83 column 77: entity was defined here.
135. ...ponentVersion=1&skinName=Clear_Skin_1&streamName=media/teaching_vid&autoPlay=
136. Warning Line 84 column 135: reference not terminated by REFC delimiter.
137. ...treamName=media/teaching_vid&autoPlay=true&autoRewind=true" quality="high" sc
138. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
139. Warning Line 84 column 135: reference to external entity in attribute value.
140. ...treamName=media/teaching_vid&autoPlay=true&autoRewind=true" quality="high" sc
141. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
142. Error Line 84 column 135: reference to entity "autoPlay" for which no system identifier could be generated.
143. ...treamName=media/teaching_vid&autoPlay=true&autoRewind=true" quality="high" sc
144. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
145. Info Line 83 column 107: entity was defined here.
146. ..._Skin_1&streamName=media/teaching_vid&autoPlay=true&autoRewind=true" />
147. Warning Line 84 column 151: reference not terminated by REFC delimiter.
148. ...teaching_vid&autoPlay=true&autoRewind=true" quality="high" scale="noscale" wi
149. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=394>  
150. Warning Line 84 column 151: reference to external entity in attribute value.
151. ...teaching_vid&autoPlay=true&autoRewind=true" quality="high" scale="noscale" wi
152. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=403>  
153. Error Line 84 column 151: reference to entity "autoRewind" for which no system identifier could be generated.
154. ...teaching_vid&autoPlay=true&autoRewind=true" quality="high" scale="noscale" wi
155. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=325>  
156. Info Line 83 column 121: entity was defined here.
157. ...Name=media/teaching_vid&autoPlay=true&autoRewind=true" />
158. Error Line 84 column 166: there is no attribute "quality".
159. ...toPlay=true&autoRewind=true" quality="high" scale="noscale" width="170" heigh
160. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
161. Error Line 84 column 179: there is no attribute "scale".
162. ...utoRewind=true" quality="high" scale="noscale" width="170" height="107" name=
163. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
164. Error Line 84 column 195: there is no attribute "width".
165. ...quality="high" scale="noscale" width="170" height="107" name="FLVPlayer" sali
166. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
167. Error Line 84 column 208: there is no attribute "height".
168. ..." scale="noscale" width="170" height="107" name="FLVPlayer" salign="LT" type=
169. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
170. Error Line 84 column 219: there is no attribute "name".
171. ...scale" width="170" height="107" name="FLVPlayer" salign="LT" type="applicatio
172. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
173. Error Line 84 column 238: there is no attribute "salign".
174. ...height="107" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash
175. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
176. Error Line 84 column 248: there is no attribute "type".
177. ...7" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginsp
178. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
179. Error Line 84 column 292: there is no attribute "pluginspage".
180. ...ation/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashpl

181. ✉ <feedback.html?uri=http%3A%2F%2Fwww.carmel.org.uk%2Fnewsite%2Fvildate%2Ftest.html;errmsg_id=108>  
182. Error Line 84 column 339: element "embed" undefined.
183. ...w.macromedia.com/go/getflashplayer" />
184. You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by: 
* incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), 
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). 
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.

Received on Friday, 21 October 2005 07:20:50 UTC