Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#51 2020-07-23 13:45:39

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,413
Website

Re: Media shortcode. Requests accepted

I’ve never done any embedding but I’ve watched many a conscious bitchute.com video linked from elsewhere. Sorry to be so vague, and not sure if this is what you are requesting.


Wondrous Healing Wondrous ways to a healthy old age
Safe Reiki Harmless natural healing.
Gud One Blog

Offline

#52 2020-07-24 08:08:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,466
Website

Re: Media shortcode. Requests accepted

@Michael. Thanks! I went through that list but it’s obviously not the latest one as Vine for example, is no longer available. It did remind me of Issuu though and checked into it but it no longer allows embedding from non paying users.

@Pete. Great I added the host.

I have made some structural changes to the shortcode in order to be able to expand it.

  • There is just one from attribute for local video or audio, local, but a second attribute (url) is needed in order to differentiate between the two.
  • The same goes for the internet archive
  • I added an img tag for video and other services but I am also using the thumbnails from hosts whenever the urls allow it.
  • I updated the table and the examples in order to make sense of the usage.

Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#53 2020-07-25 09:29:17

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,466
Website

Re: Media shortcode. Requests accepted

Bloke wrote #324362:

Great stuff, Yiannis, thank you. I’d tentatively like to suggest Bandcamp. A client and friend of mine host some of their music on that platform: jabbacartel.bandcamp.com/.

It’d be nice to be able to embed stuff directly from there instead of having to upload samples to Txp first (although that does give us some nice file_download goodness and ability to hook things up to images via track-name or category-as-album-name).

Aside: I’ve had the privilege of recording Carol when I ran the studio years ago and she was writing solo music. Still got the recordings somewhere on my hard drive tower. She has a lovely voice.

I have just added BandCamp albums:)


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#54 2020-07-25 10:20:23

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,413
Website

Re: Media shortcode. Requests accepted

.wav files? or are they just for downloading?

I’ve also watched .mkv video files

Last edited by zero (2020-07-25 10:22:57)


Wondrous Healing Wondrous ways to a healthy old age
Safe Reiki Harmless natural healing.
Gud One Blog

Offline

#55 2020-07-25 13:24:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,466
Website

Re: Media shortcode. Requests accepted

zero wrote #324837:

.wav files? or are they just for downloading?

I’ve also watched .mkv video files

Hi Pete

wav and aiff files are recommended for downloading but not for streaming as their bit rate is/should be too high to listen to without interruptions.

mkv files cannot not be handled by browsers as far as I know. On the mac at least, the only software I know that they can be played from is VLC.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#56 2020-07-25 15:21:19

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,413
Website

Re: Media shortcode. Requests accepted

I’ve got 3 videos I downloaded from Bitchute that are .mkv and I must have watched them first in Firefox before downloading. Unfortunately I searched Bitchute for them but couldn’t find, only MP4 versions. I’ve searched and .mkv is not well supported, so probably no good for your project. (And apparently .mkv is easy to convert to .mp4) But I found these two links that might help, if you’re interested.

Firefox

Chrome


Wondrous Healing Wondrous ways to a healthy old age
Safe Reiki Harmless natural healing.
Gud One Blog

Offline

#57 2020-07-25 16:16:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,466
Website

Re: Media shortcode. Requests accepted

zero wrote #324844:

I’ve got 3 videos I downloaded from Bitchute that are .mkv and I must have watched them first in Firefox before downloading. Unfortunately I searched Bitchute for them but couldn’t find, only MP4 versions. I’ve searched and .mkv is not well supported, so probably no good for your project. (And apparently .mkv is easy to convert to .mp4) But I found these two links that might help, if you’re interested.

Firefox

Chrome

Thanks Pete, From what I read from your links, mkv files are not supported, or their support is very buggy. I’m working on this project for the community, not myself. If you think that it will be of use to you, I can easily add the file type.

Let me know.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#58 2020-07-25 16:20:11

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,413
Website

Re: Media shortcode. Requests accepted

No problem. You’re doing a great job, Yiannis.


Wondrous Healing Wondrous ways to a healthy old age
Safe Reiki Harmless natural healing.
Gud One Blog

Offline

#59 2020-07-26 00:31:04

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,341
Website

Re: Media shortcode. Requests accepted

Unsplash has a way of either embedding a random or specific photo if you can deal with the licensing.

Offline

#60 2020-07-26 04:28:16

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,466
Website

Re: Media shortcode. Requests accepted

michaelkpate wrote #324850:

Unsplash has a way of either embedding a random or specific photo if you can deal with the licensing.

Hi Michael,

I’m not certain as to what unsplash does. Admittedly I did not come across this site before. Re photos in general, I intentionally left image hosting sites out, flickr for example. This is because I think that most hosting providers can cope with images and I see no reason of using an external service.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB