The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Embeding flash files, The code looks right but isn't working.
meghanalowilla
post Nov 10 2015, 11:50 AM
Post #1





Group: Members
Posts: 3
Joined: 10-November 15
Member No.: 23,727



I am taking an HTML class and am not getting help from the school I attend. I have copied parts of this code as it is written in the tutorial of my book the rest of the code was written by the instructor. I can get the mpeg4 video to play but the flash file does not show up. I can't figure out what is wrong with my code. The book says to leave the mp4 and webm files, and when I tried taking them out the flash file still didn't show up. Please help I am so confused.

<video controls="controls">
<source src="rwdance.mp4" />
<source src="rwdance.webm" />

<object data="rwdance.swf"
type="application/x-shockwave-flash"
width="280" height="239">
<param name="movie" value="rwdance.swf" />
<param name="quality" value="high" />
<param name="menu" value="false" />
You must have the
<a href="http://www.adobe.com/products/shockwaveplayer/">
Shockwave Player
</a>
to play the video clip.
</object>
</video>

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Nov 10 2015, 12:16 PM
Post #2


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



Have a look here: http://camendesign.com/code/video_for_everybody .
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
meghanalowilla
post Nov 10 2015, 12:42 PM
Post #3





Group: Members
Posts: 3
Joined: 10-November 15
Member No.: 23,727



QUOTE(Frederiek @ Nov 10 2015, 12:16 PM) *


Thank you for your reply. I checked out the page you posted and did not find any answers. I do not understand why the flash file will not show up on the web page, I can open the file separately in my browser's (IE, Fire Fox, and Chrome) and it opens and plays fine. I do not see any difference in my code and the code on the page you directed me to. This is what is confusing me, my code looks just like all the other code I have seen to embed flash files, but it doesn't work.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Nov 11 2015, 09:15 AM
Post #4


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



There are slight differences.
BTW, have you also taken a look at the test page at http://camendesign.com/code/video_for_everybody/test.html ?

Try using that code, replacing the sources of the files and maybe adjusting the sizes, in a test page. If that doesn't work either, then post the url to that test page and/or your own page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Terminator
post Nov 11 2015, 10:00 PM
Post #5


Advanced Member
****

Group: Members
Posts: 218
Joined: 19-March 15
Member No.: 22,398



QUOTE(meghanalowilla @ Nov 10 2015, 12:50 PM) *

I am taking an HTML class and am not getting help from the school I attend.


Yeah, me too. It seems like these instructors could care less and just treat the job as a time clock. Also they are having you practice embedding Flash, sounds like your class teaches outdated technology just like mine. I like Flash, but it is blocked on mobile so its basically not a priority as much anymore.

But have you tried the SWF embedding code? This is the standard code and usually works great on most desktop browsers.

https://helpx.adobe.com/flash/kb/object-tag...ofessional.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 03:35 PM