Jump to content

SerenityNetworks

Members
  • Content Count

    79
  • Joined

  • Last visited

Community Reputation

0 Neutral

About SerenityNetworks

  • Rank
    Newbie
  • Birthday January 9

Previous Fields

  • Languages
    EN

Profile Information

  • Gender
    Male
  • Location
    Allen, TX
  • Interests
    Service, wife, kids (anyone's), techie stuff, and things that get me outdoors; such as, obstacle course racing, fishing, hunting, and marksmanship.
  1. Thank you. I was a bit concerned that something like the timeupdate event would be too CPU expensive and was wondering if there was something else that wasn't a near-continual check. I'll give it a whirl. And thanks for the suggestion to check if it's gone past the desired position. I wouldn't have thought of that.
  2. Thanks for the direction. The FileReader API works great. I can load the content I need right onto the page. I'll need to tweak the CSS for the display, but that can be done later. Now I need to work on parsing out the video position and seeing how to fast forward to that position. I don't think I'll have any trouble parsing out the video position, but I'm not sure yet how to fast forward to that position. Any tips on this task?
  3. Thank you. I'll take a look at the FileReader API. Please note that this is a side project of mine. I only work on it in spare moments. Depending on how hard it is for me to digest the FileReader API methods, it may be a few days before I can get back to this post with any results. I just don't want anyone to think I'm ignoring or abandoning the thread. Thanks again, Andrew
  4. Thank you for getting me started on this. Sorry that I wasn't clear on what I can do and where I need help. Yes, I'm using JavaScript for all this. I do know how to manipulate the video. That is, I can speed it up, slow it down, know where I'm at in the video, pause it, etc. Ugh, I hadn't thought through getting the .txt file contents loaded. No, it won't be on the same path or even the same domain as the rest of the site. The user will load the page from a hosted server. The .txt file will be on their local machine. I've been thinking that I'd have the user brows
  5. UPDATE: Oh, gee! Never mind. I'm just blind. I needed doh == true, not doh=true. My page loads a video file. I desire a button that turns the video controls on and off. For the life of me, I can't figure out what I'm doing wrong in the code below. The var "doh" correctly identifies whether the video controls are on (true) or off (false). However, the IF statement always evaluates as if "doh" is TRUE. What in the heck is wrong with my IF statement? Thanks, Andrew document.getElementById("showControls").addEventListener("click", function (evt) { var d
  6. Here's my setup and need: I can load a video file onto my page. I have an Excel file containing a list of timestamps that correspond to positions on the video. I can convert the timestamps to video positions. For example: TimeStamp | currentTime 15:00:05 | 5 15:00:30 | 30 15:00:35 | 35 15:03:00 | 180 15:12:10 | 730 15:14:55 | 895 I will save the Excel file as a delimited .txt file. I need to load the .txt file onto my page I'm open to whatever method is best. I just need i
  7. Thanks for providing some direction. I'll compare this code with a page I have that opens a file directly from a URL, learn the difference, and what code I can skip when loading from a URL. Any suggestions on what would be the best method and type of device to use for serving up the video?
  8. Perhaps. I'm looking to see if/how I can modify the code (below) to source a URL instead of a local path and if I do then will I have the same controls available. I'm not a coder by trade, but I muddle along; learning as I go. Still, I'm left with the questions of whether it is better to use code that would stream the video or use a progressive download method, and how best to serve up the video files. UPDATE: Here is a link to a page I put together with the basic functionality required. I stripped out the few hundred lines of code that actually do something and did my best to leave
  9. I currently have a tool that is an HTML page employing JavaScript to review video. It has the required features shown in the bullets below. It operates as designed, but only works with files on a local drive. I'd like to expand it's functionality to allow remote users to work with video files served up from a home based NAS or personal cloud type device. I don't know whether it's best to stream the video or have the page use a progressive download. I don't know what specific type of device would be best to use for serving up the video. (I currently have 50/50 fiber to the premises, but c
  10. Well this is very odd. I added your code to force the type for MOV files to both my test page and my production page (that has other features and functions). We now get: On the web server, the production page works fine in Firefox, but not in Chrome (on this one laptop - it works fine on all other machines). On localhost with XAMPP, the production page fails in both Firefox and Chome (on this one laptop - it works fine on all other machines). On the web server, the test page now fails in both Firefox and Chrome (on this one laptop - it works fine on all other machines). On loc
  11. I've seen the table before. It looks to be several versions behind. All I can say is that the MOV files play in the tool just fine in every browser on every PC I've tried, except this one laptop. You can try one of your files from this page, if you like. Thanks, Andrew UPDATE: I also tried loading an MOV file using the file path in the address bar. It runs in Firefox just fine on the laptop. It just won't run within the tool - on this one laptop.
  12. I'm using the code below to load and play MOV video files in a browser window. It's working with MP4 files, but not with MOV files - but only on this one laptop. The tool runs MOV files just fine on my desktop and a little netbook I have, but not on my laptop. Recently my hard drive failed on this laptop. I had to install a new hard drive then reinstall Windows 10 and other software. Now MOV files that used to play fine with the tool will not play. However, MP4 files will play just fine. The issue is not browser specific. The MOV files fail to play in Firefox, Chrome, IE, and Edge. T
  13. Perfect! Thank you. Yes, vvid is an attribute and I had already set it in the code. It took me a little bit to digest and test, but I see what you are doing. I'll be able to apply this to several other buttons on the page. Ha! No doubt about that point. I'm quite sure there are many optimizations on the page that could be made. But the page works and it would be a bit much to ask someone to go through it all and optimize the content. Thank you very much for the help and instruction. Andrew
  14. I have an image I use to toggle between playing a video and pausing the video. The image also employs hover controls to highlight the image when the mouse is over it. <a onclick="playPause();" > <img id='hoverPlayPause' class="hover2" src="images/play_transparent.png" alt="Play/Pause" onmouseover="onHoverPlayPause();" onmouseout="offHoverPlayPause();" /> </a> The image link calls the following functions and styles. function playPause() { //vCurrentTime = vid.currentTime; if (vvid.paused) {vvid.play(); speed2(1.00); setInterv(); findWor
×
×
  • Create New...