. */ if ($_POST['arch_hidden'] == 'Y') { //Form data sent $archive_width = mysql_escape_string($_POST['archive_width']); update_option('archive_width', $archive_width); $archive_height = mysql_escape_string($_POST['archive_height']); update_option('archive_height', $archive_height); ?>

" . 'Archive Org Options' . ""; ?>
" . 'Embed Default Width and Height Settings' . ""; ?>


Donate

If you find this plugin useful, please donate generously to Archive.org.

If there's any love left over, buy me a cup of coffee to sip while I listen to another great concert on Archive.org:

Please abide by Archive.org Terms of Use

 


Documentation

Usage:

Wordpress page and post authors can use the shortcode [archive-org ....] to embed any audio or video file or playlist offered on Archive.org

Place the shortcode [archive-org embed=avtitle] into any post or page. avtitle can be found on the Archive.org website inside the URL for a particular media (audio or video) selection as shown in the diagram below where the avtitle is VariousBannedAndCensoredCartoons.

Optional Parameters:

Example:

An example using all the options might look like:

[archive-org embed=VariousBannedAndCensoredCartoons width=600 height=400 playlist=true]

Behavior

Audio playlists include the dropdown list within the vertical dimension you've specified. If you don't want a dropdown, set the height=30. However, if you desire the dropdown playlist, you should probably set height to at least 380 pixels, as Archive.org has a bug in audio playlists which make the scrollbar troublesome at smaller heights.

If you set playlist=false, or omit the playlist parameter, you won't get the dropdown. However you can move to different playlist selections by using the track forward/backward buttons in the player. With playlist=false on audio files/playlists, it's best to set height=30.