This code does not work in IE, it works in FF, I cannot tell why?

        var id = 123;
        var OBJECT = createDOMFunc('object');
        var PARAM = createDOMFunc('param');
        var EMBED = createDOMFunc('embed');

        var obj = OBJECT({"codebase" :
"http://www.apple.com/qtactivex/qtplugin.cab";,
                "height" : "272",
                "width" : "320",
                "classid" : "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"},
                PARAM({ "name" : "src",
                    "value" :
"http://media.revver.com/broadcast/"+id+"/video.mov"},[]),
                PARAM({"name" : "controller", "value" : "True"}, []),
                PARAM({"name" : "cache",      "value" : "False"}, []),
                PARAM({"name" : "autoplay",   "value" : "True"}, []),
                PARAM({"name" : "kioskmode",  "value" : "False"}, []),
                PARAM({"name" : "scale",      "value" : "tofit"}, []),
                EMBED({"src" :
"http://media.revver.com/broadcast/"+id+"/video.mov";,
                    "pluginspage" : "http://www.apple.com/quicktime/download/";,
                    "scale" : "tofit",
                    "kioskmode" : "False",
                    "qtsrc" :
"http://media.revver.com/broadcast/"+id+"/video.mov";,
                    "cache" : "False",
                    "height" : "272",
                    "width" : "320",
                    "controller" : "True",
                    "type" : "video/quicktime",
                    "autoplay" : "True"}, []));

help would be invaluable :)

-tjs

Reply via email to