darkoshi: (Default)
Darkoshi ([personal profile] darkoshi) wrote2014-10-05 01:18 pm

embed issues

Note to Self:

When embedding content (such as a YouTube video) in a post, remember to also include the direct URL to the content (such as the video URL) in the post.

Otherwise, when I save or export my entries, the direct URL does not get saved; only an embed id gets saved.

.

In the past, I've had problems where the embeds got messed up - old posts were showing the wrong videos. That may have happened when I copied my entries from LJ to DW, or maybe it was later on. I went back and fixed them all. Having the direct URLs in the posts would have made the process easier.

Today I have another problem with the embeds. I back up my journal in a few different ways. One way is with LJArchive - LJArchive doesn't display anything for embeds. Another way is by simply saving the HTML pages every once in a while. Today when opening those previously-saved HTML pages, I found that they no longer display right. Instead of displaying the entries with the embeds included, they show nothing but a single embed, in giant size, so that I can't even easily tell which post it is from.

If I edit the HTML to change all "iframe" to "iframex", then I can at least see the other posts correctly again.

In Dreamwidth, when I click to edit a post, it still shows the direct URL to the embedded content. I wish that part would be included when saving the HTML page, and when doing an export via LJArchive.

I suppose rather than using the "HTML only" option when saving the pages, I should start using the "Web page, complete" option. That will hopefully avoid the problem in the future even if Dreamwidth changes how their embeds are handled again.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting