I am having a hell of time getting embedding to work.
I tried linking from google drive, but that just comes up with a Forbidden 403 message. I have tried doing this by changing the permissions at the Google drive end of things and still keep getting the same message.
I then decided to see what happens if I use a youtube link, and this time I got a ‘go back’ and ‘advanced’ security message (neither button worked).
What I really want is for each record to link to a separate audio file (in my airtable), but the embed function won’t let me choose any field except the primary field (i.e. the first column in the airtable).
Does anyone know how to get the embed function to draw from another field?
I have been through all the Stacker how-tos and there is nothing there about the issues I’m encountering.
Some advice that came in from Daniel Lewis in Slack:
I have just used the embed function with an formula generated Airtable share view with custom url param filters.
Something I worked out is that Stacker have an vey basic version of embedding. That is to say you can pass them a url for embedding but not the whole embed code snippet. For things like youtube and other media audio players this will likely mean that the way the player looks in the end will be what ever the default is.
The other thing you need to be aware of when linking resources into stacker is CORS. Cross-Origin Resource Sharing (CORS) - HTTP | MDN the thing you are embedding needs to be setup to support CORS otherwise it will error out.
Whenever your doing stuff like this you should open the browsers console. You can see errors in there and start googling them
If I set the embed column to ‘formula’ what formula am I supposed to put in there?
Currently the airtable field with the contents I want embedded (wav files) is set to attachment with a different wav file in each cell.
Using a URL from google drive still comes up with a forbidden 404 error, and a youtube embedding won’t embed because firefox is overcautious and won’t open it.
Has anyone managed to successfully embed from an airtable field and how did you do it?
Hi @Wamuddjan, you mentioned YouTube in your original post - would it be possible to host the .wavs as individual YouTube videos? If so you can definitely just have a short text field in Airtable and a list of all the YouTube embed links - they look like this: https://www.youtube.com/embed/26A47MfKmhY
Airtable table:
Stacker embed setup:
How it looks in Stacker [you might want to adjust the height]