Recent content by chrisj

  1. C

    Help with changing this sql code

    I didn’t write this web script code, but I’m trying to modify it. I am attempting to have this: $get_videos = $db->rawQuery("SELECT DISTINCT(v.id), v.* FROM u_paid_videos AS upv LEFT JOIN " . T_VIDEOS . " AS v ON (upv.id_video = v.id) WHERE upv.id_user = {$user->id} AND upv.session_key =...
  2. C

    PHP resolved--

    In the php file this works successfully: // add data to table $insert_buy = $db->insert('u_paid_videos', [ 'id_user' => $user_id, 'video_play_price' => (string)$video_cost_new, 'id_video' => $video_id, 'user_id_uploaded' => $video->user_id...
  3. C

    PHP ----

    -----
  4. C

    JavaScript How to set a delay of 1 second to this js?

    Thanks for your reply. Here's the html: <div class="flex1-container"> <span id="min"></span>:<span id="sec"></span> </div> And here's my latest unsuccessful attempt at adding the delay code (the last 5 lines) into the js: var Clock = { totalSeconds: 0, start: function () { if...
  5. C

    JavaScript How to set a delay of 1 second to this js?

    This timer works successfully, but I'd like to add a 1 second delay before it starts, here's the code: var Clock = { totalSeconds: 0, start: function () { if (!this.interval) { var self = this; function pad(val) { return val > 9 ? val : "0" + val; } this.interval...
  6. C

    CSS Help with centering wrapped text

    Thanks for your reply. Here's the html: <div id="marqueecontainer"> <video id="jvideo" autoplay muted class="video-js vjs-default-skin" controls></video> <div id="marquee"> TEXT TEXT TEXT </div> </div><!--marqueecontainer-->
  7. C

    CSS Help with centering wrapped text

    I have tried many many ways to center this text without it wrapping in the middle of the page without success. Actually, it is centered but in a long vertical display, where the text lines wrap. Any suggestions to unwrap text but keep it centered are welcomed: #marquee { //position...
  8. C

    PHP Help with redirect after Upload

    The code I'm using on a web page allows the visitor to record a video via web cam and then when Upload is selected the recorded file arrives into the /uploads folder successfully. I'm trying to add a redirect to another page after the successful upload, but I added in the 'header(Location ...'...
  9. C

    HTML & CSS Help to overlay text

    I have a web page where a page visitor can record from their web cam and then the player displays/plays the recorded video, successfully. Upon upload, the progress bar appears, and the percentage numbers of progress. I've tried to have the percentage numbers appear over laid on the displayed...
  10. C

    HTML & CSS Black space above and below video screen

    I'm testing the videojs.com video and have black space horozontally above and below the screen view. I've tried many things to have the full screen fit without the black pace, without success. Any help/suggestion is appreciated. Here's the code:
  11. C

    Upload Video Page - Preventing Abuse

    Thanks for your reply. The video upload script is a page under the site's domain, but doesn't require log in to use the page. I'm not looking for "best way to integrate your script into the video site", I'm looking for ways/ideas to get the uploader's email address and some how authenticate them...
  12. C

    Upload Video Page - Preventing Abuse

    I have a web page with html5 <video> where a visitor can record & upload. I've created this web page in addition to a video web site (where users have to log into to upload). I thought the additional page would make it easier for people to create content. But, I'd like to get their email address...
  13. C

    JavaScript Help with 'Reset' button

    The code (below) allows the page vistor to click a ‘display’ button to show the camera view on the page, but not start the video recording. I'm trying to add a 'reset' the camera button, but I think it needs to stop the stream to do that. Any help with assisting me with the 'reset' button...
  14. C

    JavaScript Any way to compress a cached file?

    I have a successfully working page where a visitor can record a video via html5 < video > via web cam. Once it's recorded it automatically Plays the just recorded video (and then can be uploaded). Because it takes too long to upload, is there any way to compress or zip the browser cached...
Top