Howzit. I am looking at embedding Audio from a link into my knack app. I am quite new to Developing with Knack and I haven’t added custom code to my app before.
Here’s how I want to set it up. let’s see if I can, I want my code in one field, what code? my Audio player code. and then have my code field pull the link from my Audio link field. is this doable? I have been able to do it as an Iframe. but that’s not my desired outcome. the reason I want to do it this way is because I am adding unic links for every record and I want it to be dynamic so I don’t have to mainly do the embed code for every link of Audio.
I am doing this with Video to but an iframe is actually viable.
Hi Sunny, I appreciate the response I noticed that you are doing this with a file that is being uploaded to Knack itself, I want to host my Audio files on AWS S3 or Wasabi. this is part of the reason why I am using the link.
is this solution still Viable while hosting is not on knack?
I am using a link Field that’s 157, and my view is 3. as you would see in the image. but it doesn’t change anything.
here’s the link to my view. where I want to display the Audio player Knack
Let me know if I need to change anything in my fields or my code. I see a lot of red in my code which is concerning for me but I assume because it works by you it shouldn’t be a problem on my side.
if I want to display the Audio player in more then one view how would we do that?
as it should be. and here’s a link to my live app https://heritageoffaithmin.knack.com/messagedb#message-overview/view-message-details/66420b7422ddfc264c87ef66/
I am not sure if you are looking for more.
I am new to Knack so am not sure how what you. mean by the view not containing the data. but the link is in the view and record so it should all be there?
Thank you, Sunny! it’s working, You’re amazing! Could you provide a brief explanation of everything that happened and the code we used? I’d like to understand it better and learn from this experience as much as possible.