Created
January 18, 2011 13:19
-
-
Save suhajdab/784418 to your computer and use it in GitHub Desktop.
By default TextMate inserts a quicktime object when you drag a video file onto an html page. This is a simple html5 replacement. Simply open the Bundle Editor and find 'Insert QuickTime Movie' under HTML and replace the text in the command(s).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
video="$TM_DROPPED_FILE" | |
echo -n "<video controls="controls" src="\"$video\" "></video>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment