Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Adding HTML slot to Webcomic #63

Closed
AtreyuHibiki opened this Issue · 8 comments

4 participants

@AtreyuHibiki

This is a feature request -
I would very much like to use this plugin for the webpage for my video series, but can't due to there not being an HTML slot.

This would be an option on the "Edit Webcomic" page that would allow you to paste a bit of HTML code along with or instead of uploading an image file.

This would be a boon to all sorts of users, including comic authors who want to insert multimedia pages, as MS Paint Adventures and Brawl in the Family do.

Previous discussion on the topic (on the previous site) ran along the lines that a video series isn't a webcomic. No, a video isn't a webcomic, but a series of videos can function like a webcomic - each one featuring part of a storyline, certain characters, a common theme, etc. The organization options available on your plugin are not available on any other plugin I've seen, and are perfect for people who have anything featuring stories and recurring characters, be it comics, videos, audiobooks or what-have-you.

Thank you for your time, and all the wonderful work you do.
-Jeff K!

@mgsisk
Owner

Thanks for the idea @AtreyuHibiki!

My only concern with such a feature is that Webcomic 4 relies entirely on WordPress' media attachment feature for handling the image part of webcomic posts. There's no longer a Webcomic-specific administrative interface for Webcomic imagery: you just upload images directly to a Webcomic post using WordPress' media uploader and you're good to go. Likewise, all of Webcomic's template tags rely on various WordPress media functions for retrieving and displaying Webcomic imagery.

Because of this, anything else you'd want to use as a webcomic attachment would need to play nice with the WordPress media library. For your example: we couldn't really add an "HTML slot" for Webcomics. Instead, users would have to upload an HTML file as an attachment to the Webcomic post. This is entirely doable, and while Webcomic doesn't currently recognize anything but image attachments as Webcomic-related attachments options could be added and template tags could be modified so that users could specify what sort of attachments Webcomic should be looking for.

I'd love to hear from other users on this issue. Is this something people would be interested in, understanding that any non-image attachments Webcomic might support would still be bound to the WordPress media library?

@mgsisk mgsisk was assigned
@gfcmedia

We did an animated cartoon series the other year and published with ComicPress; we're currently moving everything over to Webcomic. Our videos are hosted through another company which handles our integrated advertising, and we then embed the videos in the posts' content section. The extensive comic navigation is why we're using Webcomic instead of embedding the videos in traditional blog posts.

@mgsisk
Owner

Thanks for the input @gfcmedia! You bring up another alternative: inserting the "attachments" directly into the post content. This is perfectly acceptable, with the caveat that any Webcomic template tag that would normally work on the attachments (like the_webcomic or any archive template tags set to display comic previews) won't recognize such content as an attachment and will thus fail to work as expected.

@AtreyuHibiki

My videos are all on YouTube and Blip: I'm just looking for a way to put the embeds in a series, really. I love the capabilities that webcomic offers.

Some questions:
1) A downside to just putting them in the content section of the post is it leaves me with two sets of forward-and-back arrows above the video which looks... silly. Is there a simple way to delete one set?

2) Could the posts placed in the same "storyline" be connected by forward and back links without dated image uploads? I've experimented a little but I'm probably doing something wrong.

@mgsisk
Owner

I'm glad you love Webcomic AtreyHibiki! I think the direct-embedding method would probably work pretty well here (though I'm still interested in looking at supporting more than just images with Webcomic). To answer your questions:

  1. Assuming you're using Inkblot 4 you can toggle both navigation bars from the Appearance > Customize page under the Webcomic section.
  2. Webcomic's navigation structure is based entirely on the post date, so it should work perfectly fine even if you don't have any attachments. This actually applies to storyline's as well; unless you limit navigation to a specific storyline (using optional parameters on the *_webcomic_link template tags) the navigation links will always point to the first, previous, next, or last chronological webcomic, regardless of what storyline they may be in.
@AtreyuHibiki

Let's say for the moment that I'm not using Inkblot - the site has been established for a while, and there's a lot to do to make the new template act like the old one.

Is there a bit of code I could alter to remove one of the navigation bars?

@mgsisk
Owner

You can create a new integration template for absolute control over how Webcomic handles integrated content, or you can try this bit of CSS that should hide the top navigation bar:

.integrated-webcomic nav.webcomic-above { display: none; }
@hyetou

I would love a feature like this. My comic is mostly images, but every now and then will have an animated update. My theme is all set up to display the image comics, and it would be nice to be able to seamlessly post a video in their place.

For your example: we couldn't really add an "HTML slot" for Webcomics. Instead, users would have to upload an HTML file as an attachment to the Webcomic post. This is entirely doable, and while Webcomic doesn't currently recognize anything but image attachments as Webcomic-related attachments options could be added and template tags could be modified so that users could specify what sort of attachments Webcomic should be looking for.

I've tried adding both a video file and an HTML file (iframe) to my media library, and attaching them to a webcomic, but, predictably, neither shows up on the page. Can you help me figure out how to do this?

Thank you!

@mgsisk mgsisk removed this from the Future milestone
@mgsisk mgsisk added the wontfix label
@mgsisk mgsisk closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.