Jump to content

Search the Community

Showing results for tags 'video upload'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello, I'm using prettyphoto to display pictures and I already linked it to PW. Good! Prettyphoto has the option of uploading youtube, vimeo and more video formats. I would like to have a field which accepts video. I've tried to use the field of images but it only accepts img formats. Prettyphoto works in a simple way. This would be the upload of an image: <div class="single_left"> <a href="_img/examples/image-1.jpg" rel="prettyPhoto[gal1]" title="it works"><img src="_img/examples/thumb-1_50.jpg" alt="" /></a> </div> This of a video: <div class="single"> <a href="http://vimeo.com/19880686" rel="prettyPhoto[gal1]" title="me with my friends in festival bu bu"><img src="_img/examples/thumb-6_50.jpg" alt="" /></a> </div> As you can observe the only thing that changes is the href from a url where the picture is hosted to the link given by vimeo in this example to embed in your website. Therefore there should be a field or something which lets you print this link into href. I don;t know if to use a field or some manipulation... In this moment this is the code for the list of pictures displayed with PW. It does work and I would like to create the same system for the videos if possible: <?php foreach($page->photo as $image){ echo "<div class='single'><a href='{$image->url}' rel='prettyPhoto[gal1]' title='{$image->description}'><img src='{$image->getThumb('thumbnail')}' width='50' height='50' alt='' /></a></div>"; } ?>
×
×
  • Create New...