Skip to content

Instantly share code, notes, and snippets.

@malachaifrazier
Created December 13, 2012 04:59
Show Gist options
  • Select an option

  • Save malachaifrazier/4274110 to your computer and use it in GitHub Desktop.

Select an option

Save malachaifrazier/4274110 to your computer and use it in GitHub Desktop.
audio_tag fun in Rails 3.2.9 '<p>Your browser does not support the audio element. Use Chrome. </p>'
# If I have one of these
<%=audio_tag track.audio,:type =>"mp3/audio",:controls =>true,:autoplay =>false,:preload =>:auto%>
# Where do I put this?
<p>Your browser does not support the audio element. Use Chrome. </p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment