[THEME] Editorial

Post Reply
sylvian
Ssr. Bludit
Posts: 22
Joined: Tue Mar 14, 2017 7:27 pm

Thu Jan 18, 2018 11:22 am

Hello!

In Editorial Theme, I've been successfull in inserting an audio file with the html tag <audio>.

When I try to do the same with the tag <video>, it doesn't work. On my page I only have the html code setting.

Any idea of what is wrong here?

In other terms, how do i proceed to add video in my content?

Thanks for answering
User avatar
Edi
Site Admin
Posts: 1193
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Thu Jan 18, 2018 1:37 pm

Which editor do you use? And can you please give an example of your code.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
sylvian
Ssr. Bludit
Posts: 22
Joined: Tue Mar 14, 2017 7:27 pm

Fri Jan 19, 2018 4:13 pm

I use the simpleMDE

The code could be

Code: Select all

<video src ="myvideo.webm" controls>
</video>
Other question how do i insert a youtube video for instance?
User avatar
Edi
Site Admin
Posts: 1193
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Fri Jan 19, 2018 6:10 pm

I will have a look at the code with the HTML tag <video>

For inserting a YouTube video you can use the code "Embed Video". You can find it on YouTube at "Share" > "Embed".

embed_youtube.png
embed_youtube.png (74.57 KiB) Viewed 839 times
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
sylvian
Ssr. Bludit
Posts: 22
Joined: Tue Mar 14, 2017 7:27 pm

Tue Jan 23, 2018 5:55 pm

Thanks for the youtube embedded code!

Any news about the tag html video?

Another question :
If I use the tinyMCE, how can I add audios and videos with this javascript editor?

In fact, i'm not familiar to markdown language and I create a site for people who would like it simple to use.
User avatar
Edi
Site Admin
Posts: 1193
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Wed Jan 24, 2018 1:49 pm

sylvian wrote:
Tue Jan 23, 2018 5:55 pm
Any news about the tag html video?
Be aware of the following:
  1. Set the right path to the source files.
  2. Not all browsers and operating systems support the format WebM. Therefore you should add a MP4 file.
The code will be for example:

Code: Select all

<video width="320" height="240" controls>
  <source src="/bl-content/uploads/myvideo.mp4" type="video/mp4">
  <source src="/bl-content/uploads/myvideo.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>
If I use the tinyMCE, how can I add audios and videos with this javascript editor?
You have to install the plugin TinyMCE (it does not work with the version delivered with Bludit). I will upate it this week.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
sylvian
Ssr. Bludit
Posts: 22
Joined: Tue Mar 14, 2017 7:27 pm

Wed Jan 24, 2018 5:29 pm

It works with mp4 file. Thank you so much!

tinyMCE works well for me without installing other version than the one given with bludit.

I've got a new problem with the Theme Editorial.

In the sidebar, I want to have the Static Pages "Menu" just on top of the sidebar.

I've seen in files that it was driven alphabetically (first About plugin shows then categories plugin shows...).

How could I change this order?

I hope you'll understand.
User avatar
diego
Site Admin
Posts: 674
Joined: Sat May 16, 2015 2:53 pm
Contact:

Wed Jan 24, 2018 8:59 pm

sylvian wrote:
Wed Jan 24, 2018 5:29 pm
It works with mp4 file. Thank you so much!

tinyMCE works well for me without installing other version than the one given with bludit.

I've got a new problem with the Theme Editorial.

In the sidebar, I want to have the Static Pages "Menu" just on top of the sidebar.

I've seen in files that it was driven alphabetically (first About plugin shows then categories plugin shows...).

How could I change this order?

I hope you'll understand.
Hi, is 50% implemented the position of plugins, I mean you can change the position if you change the database of each, for example when you install a plugin this generate a database here: bl-content/databases/plugins/about/db.php, inside this file you have a field "position", you can change it manually, for the next version of Bludit I going to add the feature to change it via the admin panel.

Regards
sylvian
Ssr. Bludit
Posts: 22
Joined: Tue Mar 14, 2017 7:27 pm

Thu Jan 25, 2018 11:49 am

It's quite simple this way! Thanks! I've seen it's the same system for posts. Awesome!

Now I've got one question to finish the website.

When will the plugin contact be available? What does this plugin allow exactly?

Is it possible to generate via this plugin a diffusion list?
dirtdiver2010
Master Bludit
Posts: 115
Joined: Fri Jan 15, 2016 6:07 pm

Thu Feb 01, 2018 2:45 pm

sylvian wrote:
Thu Jan 25, 2018 11:49 am
It's quite simple this way! Thanks! I've seen it's the same system for posts. Awesome!

Now I've got one question to finish the website.

When will the plugin contact be available? What does this plugin allow exactly?

Is it possible to generate via this plugin a diffusion list?
I think it was made by a user, but I don‘t know if it will be updated by this user.
It is a contact form, the user can put in the name and email adress an send you a message. That´s all.

You can‘t generate a mailinglist. Maybe you have to use mailgimb or some services?
Post Reply