ÁöÁ¤µÈ ÁּҷκÎÅÍ ¸Þµð¾î¸¦ ¸Þµð¾î¹Ù·Î ·ÎµùÇÏ°í Ç÷¹À̸¦ ½ÃÀÛÇÑ´Ù.
¹Ýȯ°ªÀº ¾ø´Ù.
¹Ì¸ÞŸÀÔÀ» °áÁ¤ÇÏ´Â sMIME ÆĶó¸ÞÅ͸¦ ÁöÁ¤ÇÏ¿©¾ß ÇÑ´Ù. sMIME ÆĶó¸ÞÅÍ°¡ À¯È¿ÇÏÁö ¾Ê°Å³ª nullÀ̸é, ºê¶ó¿ìÀú°¡ ¸Þµð¾îÀÇ ¹Ì¸ÞŸÀÔÀ» ÆÇÁ¤À» ½ÃµµÇÏ´Â °úÁ¤¿¡¼ openState ¼Ó¼ºÀº 21("Ç÷¹À̾ ŸÀÔÀ» ¸ð¸¦ ¶§ ÇØ´ç ÁÖ¼Ò(URL)¸¦ ¿¬´Ù.")À» ¹ÝȯÇÑ´Ù. Explorer´Â, sMIME¿¡ ÁöÁ¤µÈ ¹Ì¸ÞŸÀÔÀÌ Æ²¸®´Ù ÇÏ´õ¶óµµ, ¸Þµð¾î¸¦ ÀûÁ¤ÇÏ°Ô Ã³¸®ÇÒ ¼ö ÀÖ´Ù. ±×·¯³ª ÀÌ ¼³Á¤µÇÁö ¾ÊÀ¸¸é, ¸Þµð¾î¹Ù´Â ¸Þµð¾î¸¦ Ç÷¹ÀÌÇÏÁö ¾Ê´Â´Ù. ¹Ì¸ÞŸÀÔ(MIMEtype)ÀÇ Ãß°¡ÀûÀÎ Á¤º¸´Â mimeTypeÀ» ÂüÁ¶Ç϶ó.
¶ÇÇÑ ¸Þµð¾îÀÇ ÁÖ¼Ò urlVal ÁöÁ¤¿¡¼ http, httpsȤÀº ftpµî Àý´ëÁÖ¼Ò¸¦ »ç¿ëÇÏ¿©¾ß ÇÑ´Ù. HTML ÆäÀÌÁö°¡ ¸Þµð¾î Ʋ¿¡ ·ÎµùµÇ´Â °Í°ú´Â ´Þ¸®, ¸Þµð¾î Ç÷¹À̾î´Â ÀÚü°¡ ƯÁ¤ µµ¸ÞÀÎÀÇ »óÀ§³ª ÇÏÀ§ Æú´õ¿¡ ´ëÇÑ ÂüÁ¶ Æ÷ÀÎÆ®¸¦ Á¦°øÇÏÁö ¸øÇÑ´Ù. µû¶ó¼ playURL ¸Þ¼µå´Â Àý´ëÁÖ¼Ò·Î ÁöÁ¤µÇ¾î¾ß ÇÑ´Ù.
ÇöÀç ¸Þµð¾î¹Ù¿¡¼ Ç÷¹À̵Ǵ ¸Þµð¾î°¡ ¾øÀ¸¸é, ¾î¶² ¸Þµð¾î ¾ÖÆ®¸®ºäÆ® Á¤º¸ÀÇ Á¢¼ÓÀ» À§ÇÑ getItemInfo, getAttributeName ȤÀº attributeCount µîÀÇ ½Ãµµ´Â ½ºÅ©¸³Æ® ¿À·ù¸¦ ¹ÝȯÇÑ´Ù.
°³Ã¼ | script | IE |
---|
<DIV style="behavior:url(#default#mediaBar)" id="divMedia"></DIV> <IMG alt="À̹ÌÁö¸¦ Ŭ¸¯Çغ¸¶ó." src="../../gif/flower.jpg" width="100" onclick="divMedia.playURL('http://msdn.microsoft.com/workshop/samples/author/behaviors/media/basketball.mpeg', 'video/mpeg');"/>