【发布时间】:2012-01-26 12:23:29
【问题描述】:
我正在尝试在 Dashcode 小部件中播放声音。我只是将文件放在小部件上,现在我是一个视频项目。
这是我正在使用的代码:
// Values you provide
var qtElement = document.getElementById("video"); // replace with the ID of a QuickTime element
// QuickTime code
qtElement.Play();
当它到达最后一行时,我收到了这个错误:
"Undefined is not a function"
【问题讨论】:
标签: macos audio widget dashcode