{"id":37,"date":"2025-08-12T22:25:01","date_gmt":"2025-08-12T22:25:01","guid":{"rendered":"https:\/\/www.revonomicspodcast.com\/?page_id=37"},"modified":"2026-05-06T00:49:21","modified_gmt":"2026-05-06T00:49:21","slug":"revonomics-podcast","status":"publish","type":"page","link":"https:\/\/www.revonomicspodcast.com\/","title":{"rendered":"Revonomics Podcast"},"content":{"rendered":"<p><span><img decoding=\"async\" alt=\"\" data-id=\"43\" width=\"144\" data-init-width=\"1400\" height=\"144\" data-init-height=\"1400\" title=\"revonomicspn\" loading=\"lazy\" src=\"https:\/\/www.revonomicspodcast.com\/wp-content\/uploads\/2025\/08\/revonomicspn.png\" data-width=\"144\" data-height=\"144\" style=\"aspect-ratio: auto 1400 \/ 1400;\"><\/span><\/p>\n<h2 style=\"text-align: left;\"><span data-svg-config=\"{&quot;animationCount&quot;:1,&quot;animationDuration&quot;:1,&quot;animationDelay&quot;:1,&quot;strokeWidth&quot;:&quot;6&quot;}\" data-tcb-highlight-animation=\"viewport_once\" data-text-highlight=\"none\" style=\"--tcb-text-highlight-color: #2ABB61 !important;\">revonomics podcast<\/span><\/h2>\n<p style=\"text-align: left;\">Revonomics is a new podcast from car collector and financial expert Pejman Ghadimi, covering the intersection of cars and finance.<\/p>\n<p><span><a href=\"https:\/\/podcasts.apple.com\/us\/podcast\/revonomics-an-exotic-car-hacks-podcast\/id1832816678\" rel=\"\"><img decoding=\"async\" alt=\"\" data-id=\"38\" width=\"191\" data-init-width=\"2560\" height=\"191\" data-init-height=\"2560\" title=\"Music Streaming Badge by freeject 2\" loading=\"lazy\" src=\"https:\/\/www.revonomicspodcast.com\/wp-content\/uploads\/2025\/08\/Music-Streaming-Badge-by-freeject-2-scaled.png\" data-width=\"191\" data-height=\"191\" style=\"aspect-ratio: auto 2560 \/ 2560;\" data-link-wrap=\"1\"><\/a><\/span><span><a href=\"https:\/\/www.youtube.com\/playlist?list=PLApC-kjdQ9DRaoHAOkThDU46BS_vXmIxk\" rel=\"\"><img decoding=\"async\" alt=\"\" data-id=\"39\" width=\"191\" data-init-width=\"2560\" height=\"191\" data-init-height=\"2560\" title=\"Music Streaming Badge by freeject 4\" loading=\"lazy\" src=\"https:\/\/www.revonomicspodcast.com\/wp-content\/uploads\/2025\/08\/Music-Streaming-Badge-by-freeject-4-scaled.png\" data-width=\"191\" data-height=\"191\" style=\"aspect-ratio: auto 2560 \/ 2560;\" data-link-wrap=\"1\"><\/a><\/span><span><a href=\"https:\/\/open.spotify.com\/show\/3jPe5LWoKpxSkfTaV4FzqI?si=Rlew1reeRreoSzt41IFAJQ&amp;nd=1&amp;dlsi=63e5cacadafe40b5\" rel=\"\"><img decoding=\"async\" alt=\"\" data-id=\"40\" width=\"191\" data-init-width=\"2560\" height=\"191\" data-init-height=\"2560\" title=\"Music Streaming Badge by freeject 5\" loading=\"lazy\" src=\"https:\/\/www.revonomicspodcast.com\/wp-content\/uploads\/2025\/08\/Music-Streaming-Badge-by-freeject-5-scaled.png\" data-width=\"191\" data-height=\"191\" style=\"aspect-ratio: auto 2560 \/ 2560;\" data-link-wrap=\"1\"><\/a><\/span>              [tcb-script]  const API_KEY = &#8220;AIzaSyB15X6XexT5-uPn0cYdguPu3c6hVjwex6c&#8221;;  const PLAYLIST_ID = &#8220;PLApC-kjdQ9DRaoHAOkThDU46BS_vXmIxk&#8221;;  async function loadPlaylist() {    const container = document.getElementById(&#8220;playlistVideos&#8221;);    try {      const url =        `https:\/\/www.googleapis.com\/youtube\/v3\/playlistItems` +        `?part=snippet,contentDetails` +        `&amp;maxResults=50` +        `&amp;playlistId=${PLAYLIST_ID}` +        `&amp;key=${API_KEY}`;      const response = await fetch(url);      const data = await response.json();      console.log(&#8220;YouTube API response:&#8221;, data);      if (data.error) {        container.innerHTML = `          &lt;p&gt;&lt;strong&gt;YouTube API error:&lt;\/strong&gt; ${data.error.message}&lt;\/p&gt;          &lt;pre style=&#8221;white-space: pre-wrap; background: #f6f6f6; padding: 12px;&#8221;&gt;${JSON.stringify(data.error, null, 2)}&lt;\/pre&gt;        `;        return;      }      if (!data.items || data.items.length === 0) {        container.innerHTML = `          &lt;p&gt;No videos found.&lt;\/p&gt;          &lt;p&gt;Check that the playlist is public or unlisted, not private, and that it actually contains public videos.&lt;\/p&gt;        `;        return;      }      const videos = data.items.filter(item =&gt;        item.contentDetails &amp;&amp;        item.contentDetails.videoId &amp;&amp;        item.snippet &amp;&amp;        item.snippet.title !== &#8220;Deleted video&#8221; &amp;&amp;        item.snippet.title !== &#8220;Private video&#8221;      );      if (videos.length === 0) {        container.innerHTML = `          &lt;p&gt;The playlist was found, but it has no public videos available through the API.&lt;\/p&gt;        `;        return;      }      const latestVideoId = videos[0].contentDetails.videoId;      document.getElementById(&#8220;mainVideo&#8221;).src =        `https:\/\/www.youtube.com\/embed\/${latestVideoId}`;      container.innerHTML = videos.map((item, index) =&gt; {        const videoId = item.contentDetails.videoId;        const title = item.snippet.title;        const thumbnail = item.snippet.thumbnails?.medium?.url || &#8220;&#8221;;        return `          &lt;button            onclick=&#8221;playVideo(&#8216;${videoId}&#8217;)&#8221;            style=&#8221;              width: 100%;              display: flex;              gap: 14px;              align-items: center;              padding: 12px;              margin-bottom: 10px;              border: 1px solid #ddd;              background: #fff;              cursor: pointer;              text-align: left;            &#8221;          &gt;            &lt;img              src=&#8221;${thumbnail}&#8221;              alt=&#8221;&#8221;              style=&#8221;width: 140px; max-width: 35%; height: auto;&#8221;            &gt;            &lt;div&gt;              &lt;strong&gt;${index === 0 ? &#8220;Latest: &#8221; : &#8220;&#8221;}${title}&lt;\/strong&gt;            &lt;\/div&gt;          &lt;\/button&gt;        `;      }).join(&#8220;&#8221;);    } catch (error) {      container.innerHTML = `        &lt;p&gt;&lt;strong&gt;JavaScript error:&lt;\/strong&gt; ${error.message}&lt;\/p&gt;      `;      console.error(error);    }  }  function playVideo(videoId) {    document.getElementById(&#8220;mainVideo&#8221;).src =      `https:\/\/www.youtube.com\/embed\/${videoId}?autoplay=1`;  }  loadPlaylist();[\/tcb-script]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>revonomics podcast Revonomics is a new podcast from car collector and financial expert Pejman Ghadimi, covering the intersection of cars and finance. [tcb-script] const API_KEY = &#8220;AIzaSyB15X6XexT5-uPn0cYdguPu3c6hVjwex6c&#8221;; const PLAYLIST_ID = &#8220;PLApC-kjdQ9DRaoHAOkThDU46BS_vXmIxk&#8221;; async function loadPlaylist() { const container = document.getElementById(&#8220;playlistVideos&#8221;); try { const url = `https:\/\/www.googleapis.com\/youtube\/v3\/playlistItems` + `?part=snippet,contentDetails` + `&amp;maxResults=50` + `&amp;playlistId=${PLAYLIST_ID}` + `&amp;key=${API_KEY}`; const response [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-37","page","type-page","status-publish","hentry","post-wrapper","thrv_wrapper"],"featured_image_src":null,"featured_image_src_square":null,"_links":{"self":[{"href":"https:\/\/www.revonomicspodcast.com\/index.php?rest_route=\/wp\/v2\/pages\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.revonomicspodcast.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.revonomicspodcast.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.revonomicspodcast.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.revonomicspodcast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":0,"href":"https:\/\/www.revonomicspodcast.com\/index.php?rest_route=\/wp\/v2\/pages\/37\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.revonomicspodcast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}