I want to create a deck which will act as a sign language dictionary, i.e. Front= word, Back=video.
I'm planning to use the SignBSL.com website which has an extensive library of videos. I don't intend copying their videos to a local media folder but want to use the URL, e.g.
I tested an iframe and it doesn’t work with the links they’re providing.
Instead of an iframe, you should copy-paste the code on their website, which works on my end (but takes time to load).
Try this for example, the embed works as expected.
<blockquote class="signbsldata-embed" data-vidref="wqlzxgcxs6">
<a href="https://www.signbsl.com/sign/about">Watch how to sign 'about' in British Sign Language</a>
</blockquote>
<script async src="https://embed.signbsl.com/widgets.js" charset="utf-8"></script>
For future ref, they were talking about putting the iframe part inside your templates. You can’t refer to another field inside a field, so {{Link}} would only work if you did it directly in the card templates.
Ah, I didn’t see the video URL. In any case though, I think following the official route is better. Some websites like YT don’t support embeds with their regular links, instead they have special embed links.
Click on “Cards…” then add the code I mentioned in my first reply there. Also, since you added a “link” field with lower case “l”. Either change the “Link” in my code to “link” or capitalize your field name.
Then paste the link to the video into the link field.
Your screenshot shows something very different from what I posted:
<blockquote class="signbsldata-embed" data-vidref="wqlzxgcxs6"><a href="https://www.signbsl.com/sign/about">Watch how to sign 'about' in British Sign Language</a></blockquote><script async src="https://embed.signbsl.com/widgets.js" charset="utf-8"></script>
I’m not sure if you did a mistake when copy-pasting or its some weird Anki quirk.
You click the “Card” button on top of that screen. And change the underlying code of your note-type.
In message #14 you suggest changing the underlying code of my note-type. Given I have a couple of other decks using the same note-type, would I be better creating a new note-type?
Yes, I’m aware. I looked at your other message and it didn’t match the embed code completely. The parts at the end were messed up.
Yes, but I was talking about the iframe thing Zorn was talking about. My suggestion was you simply copy paste the embed code from their website, but if you can’t get that to work iframe is a valid option.