Tuesday, 10 September 2013

Is it appropriate to tag an iframe audio player with itemprop audio?

Is it appropriate to tag an iframe audio player with itemprop audio?

Schema.org's example for a music track shows a "play button" tagged as
itemprop="audio" within the itemprop="track" element.
If I'm embedding an entire iframe from a service like soundcloud (but
could be any service), is it appropriate to tag the iframe as the "audio"?
<article class="track" itemprop="track" itemscope
itemtype="http://schema.org/MusicRecording">
<span itemprop="name">My Song</span>
<meta itemprop="url" content="http://mysite.com/music">
<iframe itemprop="audio" src="https://w.soundcloud.com/p..."></iframe>
</article>

No comments:

Post a Comment