the image at my site don't show up.What's up.

Dani AI

Generated

The posts show two different problems: the URL encoding in the panda link and browser/playback compatibility. As observed, the path contains a percent-encoded space (%20). Removing the encoding breaks the URL because spaces must be percent-encoded in links or, better, avoided altogether. Rename files to remove spaces (use hyphens or underscores, e.g. baby-pandas.html or baby-pandas.mp4) and update every link. See the percent-encoding primer for details: Percent-encoding.

Playback: was right that WMV relies on platform plugins that modern browsers often do not support. For reliable in-browser playback, transcode WMV to MP4 (H.264/AAC) or WebM and serve with the HTML5 video element. Also verify the HTTP response (200 vs 404/403) and the server-set Content-Type (e.g., video/mp4) in the browser DevTools Network tab; wrong status or MIME will prevent playback. See MDN for the video element and Content-Type header: HTML5 video elementContent-Type header.

Quick checklist and a safe conversion command to use if files are WMV:

  • Remove spaces from filenames and links.
  • Check Network tab for request status and MIME.
  • Confirm server is not blocking hotlinking and pay attention to case sensitivity on Unix hosts.
  • Convert WMV to MP4 (example using FFmpeg):
ffmpeg -i input.wmv -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k output.mp4

Reference: FFmpeg.

Recommended Answers

All 6 Replies

unless you provide at least a sniff more information, even some conjecture will be a waste of time.

Member Avatar for Member #114696

Does every image is not show on your page.

Check if the links to the images are correct.

unless you provide at least a sniff more information, even some conjecture will be a waste of time.

my site see my signature.the image can show up,but the videos seems can't play.anyone please tell me the resualts,thanks!

well, i can't see them because I don't have windows media player. perhaps you'd get more "playability" in general if you use (admitadly, somewhat larger) mpeg files.

EDIT: I tell a lie, I am watching the panda video right now; but only by downloading it first. The link seems to be valid, but try this out: for generating embed code for WMV files... You usually embed the actual Windows Media Player object and give it a file to view... The <EMBED> tag is quite old and has been replaced in modern HTML with the <OBJECT> tag.

otherwise, they should work if the user has WMP and the browser plugin installed, and if there is a WMV file in the location your markup indicates it to be in.

Member Avatar for Member #114696

Its because the link has spaces. Link wont work if you remove %20. It stands for space. No link could work on web with spaces.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.