{"action":"opened","issue":{"url":"https://api.github.com/repos/dotherightthing/wpdtrt-gallery/issues/19","repository_url":"https://api.github.com/repos/dotherightthing/wpdtrt-gallery","labels_url":"https://api.github.com/repos/dotherightthing/wpdtrt-gallery/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/dotherightthing/wpdtrt-gallery/issues/19/comments","events_url":"https://api.github.com/repos/dotherightthing/wpdtrt-gallery/issues/19/events","html_url":"https://github.com/dotherightthing/wpdtrt-gallery/issues/19","id":304271264,"number":19,"title":"Video attachment pages","user":{"login":"dotherightthing","id":638871,"avatar_url":"https://avatars3.githubusercontent.com/u/638871?v=4","gravatar_id":"","url":"https://api.github.com/users/dotherightthing","html_url":"https://github.com/dotherightthing","followers_url":"https://api.github.com/users/dotherightthing/followers","following_url":"https://api.github.com/users/dotherightthing/following{/other_user}","gists_url":"https://api.github.com/users/dotherightthing/gists{/gist_id}","starred_url":"https://api.github.com/users/dotherightthing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotherightthing/subscriptions","organizations_url":"https://api.github.com/users/dotherightthing/orgs","repos_url":"https://api.github.com/users/dotherightthing/repos","events_url":"https://api.github.com/users/dotherightthing/events{/privacy}","received_events_url":"https://api.github.com/users/dotherightthing/received_events","type":"User","site_admin":false},"labels":[{"id":690185532,"url":"https://api.github.com/repos/dotherightthing/wpdtrt-gallery/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"dotherightthing","id":638871,"avatar_url":"https://avatars3.githubusercontent.com/u/638871?v=4","gravatar_id":"","url":"https://api.github.com/users/dotherightthing","html_url":"https://github.com/dotherightthing","followers_url":"https://api.github.com/users/dotherightthing/followers","following_url":"https://api.github.com/users/dotherightthing/following{/other_user}","gists_url":"https://api.github.com/users/dotherightthing/gists{/gist_id}","starred_url":"https://api.github.com/users/dotherightthing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotherightthing/subscriptions","organizations_url":"https://api.github.com/users/dotherightthing/orgs","repos_url":"https://api.github.com/users/dotherightthing/repos","events_url":"https://api.github.com/users/dotherightthing/events{/privacy}","received_events_url":"https://api.github.com/users/dotherightthing/received_events","type":"User","site_admin":false},"assignees":[{"login":"dotherightthing","id":638871,"avatar_url":"https://avatars3.githubusercontent.com/u/638871?v=4","gravatar_id":"","url":"https://api.github.com/users/dotherightthing","html_url":"https://github.com/dotherightthing","followers_url":"https://api.github.com/users/dotherightthing/followers","following_url":"https://api.github.com/users/dotherightthing/following{/other_user}","gists_url":"https://api.github.com/users/dotherightthing/gists{/gist_id}","starred_url":"https://api.github.com/users/dotherightthing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotherightthing/subscriptions","organizations_url":"https://api.github.com/users/dotherightthing/orgs","repos_url":"https://api.github.com/users/dotherightthing/repos","events_url":"https://api.github.com/users/dotherightthing/events{/privacy}","received_events_url":"https://api.github.com/users/dotherightthing/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-12T07:58:14Z","updated_at":"2018-03-12T07:58:14Z","closed_at":null,"author_association":"OWNER","body":"From old issue [wpdtrt-dbth #45](https://bitbucket.org/dotherightthing/wpdtrt-dbth/issues/45/video-attachment-pages):\r\n\r\n---\r\n\r\n## New idea\r\n\r\n1. insert generic video thumbnail, link this to vimeo page\r\n2. CSS used to display video icon for URL pointing to vimeo or youtube\r\n2. optional: php or JS pulls the posterframe image to display on the thumbail\r\n3. optional: php rewrites the link to create an attachment page if this doesn’t exist, containing the poster frame of the video. this is misleading as the content is not hosted on webdrive\r\n4. the user clicks from the thumbnail to the vimeo page, or to the attachment page\r\n5. user clicks on the controls to play the video\r\n6. if JS is enabled the image or video can be viewed in situ, e.g. in a lightbox\r\n\r\n## Old idea\r\n\r\nI screenshot a still frame, to act as the  thumbnail and poster frame, or get this from you tube's api\r\n\r\nA play button image is automatically or manually comped on top\r\n\r\nWhen the thumbnail is clicked, the attachment page loads. This is the poster frame, like a regular image. This page can be linked to from inside or outside the site. \r\n\r\nA play button is also present\r\n\r\nWhen the button is clicked, the poster frame is replaced by a player. This could be a separate light box to simplify development. \r\n\r\nThe fallback is a link to the YouTube page. \r\n\r\n## Resources\r\n\r\n* https://digwp.com/2009/08/awesome-image-attachment-recipes-for-wordpress/\r\n"}}
{"actor":{"display_login":"dotherightthing"}}