• Welcome! The TrekBBS is the number one place to chat about Star Trek with like-minded fans.
    If you are not already a member then please register an account and join in the discussion!

HTML question.

Amasov

Rear Admiral
Rear Admiral
Heya, folks - I have a quick little thing about some HTML coding I'm working on and was wondering if I could get some insight.

I've been working on my portfolio website, which contains a lot of the graphic design and video work that I have done over the years. I started to make some tweaks last night and was thinking about what to do with my video page. At the moment, when you click on one of the videos to play, it opens a new tab in your browser and plays the video there, but I then had the idea to put in some code to have a small window come up where the video would play instead. It's a bit old-fashioned, but I think it's a decent idea.

My only concern now is, all these browsers have pop-up blockers and I'm concerned that if a potential employer is having a look, whatever browser they are using will stop the video window from coming up thus preventing them from seeing the video.

Is there a work-around this or perhaps is there a better way to do this?

Thanks!
 
Well, I have never used a pop up blocker, but I would imagine most of them know the difference between an unwelcome popup, and one the user had requested themselves.

But why not just embed a video player in the page? There's a few free ones out there if you don't mind having someone's logo in the bottom corner, and they aren't too tricky to install.
 
Well, I have never used a pop up blocker, but I would imagine most of them know the difference between an unwelcome popup, and one the user had requested themselves.

But why not just embed a video player in the page? There's a few free ones out there if you don't mind having someone's logo in the bottom corner, and they aren't too tricky to install.

I use JW Player and embed the video. Basically, the way it's working is the code is calling it to open a window (when clicked) that is slightly bigger than the video's dimensions. Originally I just had it open a new tab in the browser where the video sat center on the page. Seemed like kind of a waste to me and poorly-designed.
 
I use iframe for that kind of thing, and it's pretty well cross browser proof as best as I can tell.
 
Well, I have never used a pop up blocker, but I would imagine most of them know the difference between an unwelcome popup, and one the user had requested themselves.

But why not just embed a video player in the page? There's a few free ones out there if you don't mind having someone's logo in the bottom corner, and they aren't too tricky to install.

I use JW Player and embed the video. Basically, the way it's working is the code is calling it to open a window (when clicked) that is slightly bigger than the video's dimensions. Originally I just had it open a new tab in the browser where the video sat center on the page. Seemed like kind of a waste to me and poorly-designed.

Ahh right I see. Well it would be a problem for people with Javascript turned off, but I don't see it being a problem for pop-up blockers.

But what I was getting at was, is there no way you can just dispense with needing a pop-up or a new tab at all? Like having one static player with a playlist of all your stuff, or having the video hidden by css until you click the link, and then it slides out?
 
Having any sort of media -- sound, video, etc. -- automatically play upon loading a website is antithetical to best practices. If I'm visiting your site, I don't want to be bombarded with some video that I didn't actually say I wanted to see.
 
If you are not already a member then please register an account and join in the discussion!

Sign up / Register


Back
Top