Hi all,
I have a problem with Html code which is provided on this site...
if the user doesn't have flash, yowinwork doesn't work...
If would be possible to show me how to use SWFObject .. that will be better to detect flash player for users.. no ?
Many thanks,
SWFObject
- par
- Posts: 8647
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: SWFObject
Dear Anthony,
Below you will find an example of how to make YoWindow widget embedded with SwfObject.
You will need 2 files - swfobject.js and expressInstall.swf to allow SwfObject handle the case when Flash Player is not installed.
I have attached the files to the post.
I think nowadays most web users already have Flash Player installed on their computers.
Everybody has visited YouTube for at least one time.
This is not a high priority for our project.
This is yowindow.html from the .zip file attached to this post
Below you will find an example of how to make YoWindow widget embedded with SwfObject.
You will need 2 files - swfobject.js and expressInstall.swf to allow SwfObject handle the case when Flash Player is not installed.
I have attached the files to the post.
I think nowadays most web users already have Flash Player installed on their computers.
Everybody has visited YouTube for at least one time.
This is not a high priority for our project.
This is yowindow.html from the .zip file attached to this post
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>YoWindow with SwfObject example</title>
<script type="text/javascript" src="swfobject.js"></script>
<script language="JavaScript">
function onLoad() {
var flashvars = {
location_id: "auto"
};
var params = {
quality: "high",
bgcolor: "#FFFFFF",
allowscriptaccess: "always",
allowfullscreen: "true",
menu: "false",
wmode: "window"
};
var attributes = {
id:"yowidget",
name:"yowidget"
};
swfobject.embedSWF(
"http://swf.yowindow.com/wimo/hpPal/hpPal.swf",
"yowidget",
"380",
"240",
"9.0.0",
"expressInstall.swf",
flashvars,
params,
attributes
);
}
</script>
</head>
<body onload="onLoad();">
<div id="yowidget">
</div>
</body>
</html>
- Attachments
-
- yoswfobject.zip
- (5.4 KiB) Downloaded 382 times
Re: SWFObject
Great..
Thank you for that..
yes, of course, i think also for youtube.. but i think there are always people who don't know Youtube (in particular, old persons..)
thus, I prefer to take the initiative rather than to have problems with users..
Thank you for that..
yes, of course, i think also for youtube.. but i think there are always people who don't know Youtube (in particular, old persons..)
thus, I prefer to take the initiative rather than to have problems with users..
- par
- Posts: 8647
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: SWFObject
In our project we are trying to concentrate on the majority users to save time.
Otherwise we would not be able to do as much as you see with YoWindow and with the website.
Otherwise we would not be able to do as much as you see with YoWindow and with the website.