Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Willi Müller

    (@jups42)

    From the source code I could understand that the attribute in the wordpress shortcode is called filesize.

    Thus, the following works for me:

    [podloveaudio 
    src="/wp-content/uploads/audio/foobar.mp3" 
    duration="01:05:07" 
    title="my title" 
    filesize="32607804"]
    Plugin Author Alexander Heimbuch

    (@aheimbuch)

    I will update the documentation and also provide a fallback for the file size.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to set file size in shortcode?’ is closed to new replies.