[object Object]

← back to Rentv 2026

Fix RENTV Originals playback on rentv-v1 (contrarian catch): port review.html mp4 <video> branch + closeVideo box-clear + copy 4 mp4 + 4 jpg media. Verified end-to-end: video plays (readyState=4), 0 console errors. Prior 'superset' was data-only — player+media were missing.

0af5470524374ab876def9080ec1508c75526144 · 2026-07-22 11:51:51 -0700 · Steve

Files touched

Diff

commit 0af5470524374ab876def9080ec1508c75526144
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed Jul 22 11:51:51 2026 -0700

    Fix RENTV Originals playback on rentv-v1 (contrarian catch): port review.html mp4 <video> branch + closeVideo box-clear + copy 4 mp4 + 4 jpg media. Verified end-to-end: video plays (readyState=4), 0 console errors. Prior 'superset' was data-only — player+media were missing.
---
 data/markets.json                 |  20 ++++++++++----------
 data/news.json                    |   2 +-
 data/ticker.json                  |   8 ++++----
 public/media/originals/brand.jpg  | Bin 0 -> 7242 bytes
 public/media/originals/brand.mp4  | Bin 0 -> 1332007 bytes
 public/media/originals/daily.jpg  | Bin 0 -> 7053 bytes
 public/media/originals/daily.mp4  | Bin 0 -> 1098925 bytes
 public/media/originals/deals.jpg  | Bin 0 -> 8447 bytes
 public/media/originals/deals.mp4  | Bin 0 -> 1820672 bytes
 public/media/originals/review.jpg | Bin 0 -> 8027 bytes
 public/media/originals/review.mp4 | Bin 0 -> 1430006 bytes
 public/review.html                |  12 +++++++++---
 12 files changed, 24 insertions(+), 18 deletions(-)

diff --git a/data/markets.json b/data/markets.json
index d2583b8c..b225afc3 100644
--- a/data/markets.json
+++ b/data/markets.json
@@ -1,5 +1,5 @@
 {
-  "fetched_at": "2026-07-22T18:24:34.424Z",
+  "fetched_at": "2026-07-22T18:44:35.309Z",
   "source": "Yahoo Finance — live (CBOE Treasury yields, Dow Jones/MSCI REIT indices)",
   "curve": [
     {
@@ -10,20 +10,20 @@
     },
     {
       "label": "5-Year",
-      "value": "4.41%",
-      "change_bps": 4,
+      "value": "4.40%",
+      "change_bps": 3,
       "dir": "up"
     },
     {
       "label": "10-Year",
-      "value": "4.66%",
+      "value": "4.65%",
       "change_bps": 3,
       "dir": "up"
     },
     {
       "label": "30-Year",
-      "value": "5.15%",
-      "change_bps": 2,
+      "value": "5.14%",
+      "change_bps": 1,
       "dir": "up"
     }
   ],
@@ -42,8 +42,8 @@
   "reits": [
     {
       "label": "DJ U.S. Real Estate",
-      "value": "396.37",
-      "change_pct": -0.32,
+      "value": "396.54",
+      "change_pct": -0.28,
       "dir": "down"
     },
     {
@@ -54,8 +54,8 @@
     },
     {
       "label": "Vanguard REIT ETF (VNQ)",
-      "value": "$99.18",
-      "change_pct": -0.31,
+      "value": "$99.23",
+      "change_pct": -0.25,
       "dir": "down"
     }
   ],
diff --git a/data/news.json b/data/news.json
index 15f33678..044dfb15 100644
--- a/data/news.json
+++ b/data/news.json
@@ -1,6 +1,6 @@
 {
  "source": "rentv.com — live",
- "fetched_at": "2026-07-22T18:24:33.971Z",
+ "fetched_at": "2026-07-22T18:44:34.949Z",
  "count": 30,
  "items": [
   {
diff --git a/data/ticker.json b/data/ticker.json
index 69e61ac6..919b69ca 100644
--- a/data/ticker.json
+++ b/data/ticker.json
@@ -1,5 +1,5 @@
 {
-  "fetched_at": "2026-07-22T18:24:34.399Z",
+  "fetched_at": "2026-07-22T18:44:35.281Z",
   "la_office_vac": {
     "label": "LA OFFICE VAC",
     "value": "23.1%",
@@ -14,14 +14,14 @@
   },
   "cre_index": {
     "label": "CRE INDEX",
-    "value": "4,166",
-    "change_pct": -0.32,
+    "value": "4,168",
+    "change_pct": -0.28,
     "dir": "down",
     "source": "Dow Jones U.S. Real Estate"
   },
   "ten_yr": {
     "label": "10-YR",
-    "value": "4.66%",
+    "value": "4.65%",
     "change_bps": 3,
     "dir": "up",
     "source": "CBOE 10-Yr (^TNX)"
diff --git a/public/media/originals/brand.jpg b/public/media/originals/brand.jpg
new file mode 100644
index 00000000..1e95a600
Binary files /dev/null and b/public/media/originals/brand.jpg differ
diff --git a/public/media/originals/brand.mp4 b/public/media/originals/brand.mp4
new file mode 100644
index 00000000..822148ba
Binary files /dev/null and b/public/media/originals/brand.mp4 differ
diff --git a/public/media/originals/daily.jpg b/public/media/originals/daily.jpg
new file mode 100644
index 00000000..97ac7e77
Binary files /dev/null and b/public/media/originals/daily.jpg differ
diff --git a/public/media/originals/daily.mp4 b/public/media/originals/daily.mp4
new file mode 100644
index 00000000..4e9748c4
Binary files /dev/null and b/public/media/originals/daily.mp4 differ
diff --git a/public/media/originals/deals.jpg b/public/media/originals/deals.jpg
new file mode 100644
index 00000000..54aa11b6
Binary files /dev/null and b/public/media/originals/deals.jpg differ
diff --git a/public/media/originals/deals.mp4 b/public/media/originals/deals.mp4
new file mode 100644
index 00000000..07ff0547
Binary files /dev/null and b/public/media/originals/deals.mp4 differ
diff --git a/public/media/originals/review.jpg b/public/media/originals/review.jpg
new file mode 100644
index 00000000..f92da068
Binary files /dev/null and b/public/media/originals/review.jpg differ
diff --git a/public/media/originals/review.mp4 b/public/media/originals/review.mp4
new file mode 100644
index 00000000..986ed6cd
Binary files /dev/null and b/public/media/originals/review.mp4 differ
diff --git a/public/review.html b/public/review.html
index 15a3bdb3..2a4c5313 100644
--- a/public/review.html
+++ b/public/review.html
@@ -171,14 +171,20 @@ function render(){
 }
 function openVideo(id){
   const v=ALL.find(x=>x.id===id); if(!v) return;
-  document.getElementById('mframe').src=v.embed+'?autoplay=1&rel=0';
+  const box=document.querySelector('.modal .video');
+  if(v.mp4){ // self-hosted RENTV Original — play a real <video>, not a YouTube iframe
+    box.innerHTML='<video id="mvid" src="'+esc(v.mp4)+'" poster="'+esc(v.thumb||'')+'" controls autoplay playsinline style="width:100%;height:100%;background:#000"></video>';
+  }else{
+    box.innerHTML='<iframe id="mframe" allow="accelerometer;autoplay;clipboard-write;encrypted-media;gyroscope;picture-in-picture" allowfullscreen></iframe>';
+    document.getElementById('mframe').src=v.embed?v.embed+'?autoplay=1&rel=0':'';
+  }
   document.getElementById('mcat').textContent=v.cat;
   document.getElementById('mtitle').textContent=v.title;
   document.getElementById('mdesc').textContent=v.desc||'';
-  document.getElementById('mlink').href=v.view_url;
+  const mlink=document.getElementById('mlink'); if(mlink){ mlink.href=v.view_url||'#'; }
   document.getElementById('modal').classList.add('open');
 }
-function closeVideo(){document.getElementById('modal').classList.remove('open');document.getElementById('mframe').src='';}
+function closeVideo(){document.getElementById('modal').classList.remove('open');const box=document.querySelector('.modal .video');if(box)box.innerHTML='';}
 
 document.getElementById('rails').addEventListener('click',e=>{const b=e.target.closest('.vcard');if(b)openVideo(b.dataset.id);});
 document.getElementById('chips').addEventListener('click',e=>{const b=e.target.closest('button[data-cat]');if(!b)return;cat=b.dataset.cat;chips();render();});

← 4355473d Fork consolidation prep: port RENTV Originals feature into r  ·  back to Rentv 2026  ·  auto-save: 2026-07-22T12:13:58 (3 files) — data/markets.json 73af2abf →