Journal: Add new type of journal entry for YouTube video links with "journal_youtubevideo" and "journal_groupyoutubevideo" template files.
See original GitHub issueDescription of problem
Posts made with a video link do not show a way to play the video.
Description of solution
If a link has to do with a video the journal will use a template that includes a way to view playing the video in a small window you can expand if you like.
Links are already detected, if they look for a little more information about the link the journal can then determine what journal item type it is.
The feature to allow or not allow this type would need to be enhanced along with the logic submit and view new journal item types.
Different cases:
- Journal link contains YouTube video information
- Could be extended to handle links that end with an extension to use an HTML5 player
- Depending on final solution the
Journal_Type - JournalType
created can beyoutubelink
orvideolink
and avideofile
potentially to handle them independently. - File types with video extensions uploaded could also use a similar feature with
JournalType = videofile
and get a player in another template.
Screenshots
If applicable, provide screenshots to help explain the problem and/or enhancement.
Additional context
For now just simply adding YouTube links would be cool! I am working in this area for the next month I am guessing until I get a final PR together for some previous issues. I may include this issue with the others if I can get to it, or it may come later if at all as a contribution from me. I wont get in the way of someone else diving into this showing me how it is done 👍 My gut tells me if I can get this other issue a 100% workable community solution this should be a breeze…
I am about 70% done with the other issues. I have a hacked up version I need to finalize and make one more thing work as desired. This issue is in the same realm while I am working here I might be able to slip this enhancement request in myself.
This can be done for any YouTube links but can also be done for other links that end with .mpeg4
or other acceptable video extensions. We may need another Journal_Type
for this to display in a similar way using an HTML5 player.
Allow JournalType = link
from database Journal_Type
handle the logic switching on a linkyoutube
template. However a new Journal_Type
Video
and YouTubeVideo
could be created giving the other settings that go with each. Ability to enable/disable these types of link templates is something to consider and this is what would need done most likey for that to happen here. I can see a couple possibilities.
When a journal has contact information such as a phone number, address or email a vCard and proper way to display an email most securely over the internet to avoid most spam. PDF file links can be handled differently as well possibly. I don’t mind taking the journal to more options available for the “business class” rather than just a social module or activity feed. Any feedback in respect to this would be nice.
Affected browser
- Chrome
- Firefox
- Safari
- Internet Explorer
- Edge
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
I’m supportive of the YouTube link function. Our experience is that links pasted from YouTube pull a thumbnail and the video title as expected, but the link applied to the video title is linked to the User Profile, not to the video. Has there been progress on this?
This issue has been closed automatically due to inactivity (as mentioned 14 days ago). Feel free to re-open the issue if you believe it is still relevant.