wvuweb / cleanslate-cms

A place to file issues and view releases for CleanSlate CMS. http://cleanslatecms.wvu.edu
6 stars 0 forks source link

Snippet to add audio that also requires a transcript #235

Open jasonmarkle opened 6 years ago

jasonmarkle commented 6 years ago

So it seems like audio stuff is becoming more of a thing. We should probably just make this into a snippet that will spit out the appropriate code so that content editors won't have to worry about accessibility.

So, you pull the audio snippet into a region and the modal will have a required source and transcript field.

The source will be added to the audio selector in the code and the transcript will just be in an additional p tag that spits out the appropriate class with it to just give the visual indication that it's a transcript for the sound file.

Right now looking for feedback and if Q1 delivery seems reasonable? Not sure what your workload is like atm Nathan.

nreckart commented 6 years ago

Sounds reasonable. What is the source field? Would it refer to a site file/asset or is it a URL? If it's a site asset, are we promoting CleanSlate as a media source? An HTML example of the final output would come in handy.

jasonmarkle commented 6 years ago

Good question. Maybe we give the ability to either link to a file or url in the modal so the user can decide where the source file lives. Maybe they have designated audio hosting in the theme via a public folder or a third party site, or they can upload it to cleanslate if it's under a certain file size that we define?

Would promoting it as a media source for audio create performance issues that can currently be identified? If so we can just require the file be hosted either on a vendor site. The wall with that is the fact there aren't a lot of great sites that host audio in a way that's accessible.